public enum ArtifactScopeEnum extends java.lang.Enum<ArtifactScopeEnum>
DEFAULT_SCOPE
as well
as convenience method to deal with scope relationships.Enum Constant and Description |
---|
compile |
provided |
runtime |
runtime_plus_system |
system |
test |
Modifier and Type | Field and Description |
---|---|
private static ArtifactScopeEnum[][][] |
COMPLIANCY_SETS |
static ArtifactScopeEnum |
DEFAULT_SCOPE |
private int |
id |
Modifier and Type | Method and Description |
---|---|
static ArtifactScopeEnum |
checkScope(ArtifactScopeEnum scope)
Helper method to simplify null processing
|
boolean |
encloses(ArtifactScopeEnum scope)
scope relationship function.
|
(package private) int |
getId() |
java.lang.String |
getScope() |
static ArtifactScopeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArtifactScopeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtifactScopeEnum compile
public static final ArtifactScopeEnum test
public static final ArtifactScopeEnum runtime
public static final ArtifactScopeEnum provided
public static final ArtifactScopeEnum system
public static final ArtifactScopeEnum runtime_plus_system
public static final ArtifactScopeEnum DEFAULT_SCOPE
private int id
private static final ArtifactScopeEnum[][][] COMPLIANCY_SETS
public static ArtifactScopeEnum[] values()
for (ArtifactScopeEnum c : ArtifactScopeEnum.values()) System.out.println(c);
public static ArtifactScopeEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullint getId()
public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope)
public java.lang.String getScope()
public boolean encloses(ArtifactScopeEnum scope)
scope
-