java.io.Serializable, java.lang.Comparable<ArtifactScopeEnum>public enum ArtifactScopeEnum extends java.lang.Enum<ArtifactScopeEnum>
DEFAULT_SCOPE as well
as convenience method to deal with scope relationships.| Enum Constant | Description |
|---|---|
compile |
|
provided |
|
runtime |
|
runtime_plus_system |
|
system |
|
test |
| Modifier and Type | Field | Description |
|---|---|---|
static ArtifactScopeEnum |
DEFAULT_SCOPE |
| Modifier and Type | Method | Description |
|---|---|---|
static ArtifactScopeEnum |
checkScope(ArtifactScopeEnum scope) |
Helper method to simplify null processing
|
boolean |
encloses(ArtifactScopeEnum scope) |
scope relationship function.
|
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
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 nullpublic static final ArtifactScopeEnum checkScope(ArtifactScopeEnum scope)
public java.lang.String getScope()
public boolean encloses(ArtifactScopeEnum scope)
scope -