public enum DependencyScope extends java.lang.Enum<DependencyScope>
Production Compile | Production Runtime |
Test Compile | Test Runtime |
|
COMPILE | * | * | * | * |
TEST | * | * | ||
RUNTIME | * | * | ||
PROVIDED | * | * | * | |
Production Output | * | * | * | |
Test Output | * |
isFor
methods instead of direct comparison with the enum constantsModifier and Type | Field and Description |
---|---|
static java.lang.String |
SCOPE_ATTR |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
boolean |
isForProductionCompile() |
boolean |
isForProductionRuntime() |
boolean |
isForTestCompile() |
boolean |
isForTestRuntime() |
static DependencyScope |
readExternal(Element element) |
java.lang.String |
toString() |
static DependencyScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DependencyScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeExternal(Element element) |
public static final DependencyScope COMPILE
public static final DependencyScope TEST
public static final DependencyScope RUNTIME
public static final DependencyScope PROVIDED
public static final java.lang.String SCOPE_ATTR
public static DependencyScope[] values()
for (DependencyScope c : DependencyScope.values()) System.out.println(c);
public static DependencyScope 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 DependencyScope readExternal(Element element)
public void writeExternal(Element element)
public java.lang.String getDisplayName()
public boolean isForProductionCompile()
public boolean isForProductionRuntime()
public boolean isForTestCompile()
public boolean isForTestRuntime()
public java.lang.String toString()
toString
in class java.lang.Enum<DependencyScope>