|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ScopeType>
org.jboss.shrinkwrap.resolver.api.maven.ScopeType
public enum ScopeType
Valid scope types for Maven MavenDependency metadata
| Enum Constant Summary | |
|---|---|
COMPILE
|
|
IMPORT
|
|
PROVIDED
|
|
RUNTIME
|
|
SYSTEM
|
|
TEST
|
|
| Method Summary | |
|---|---|
static ScopeType |
fromScopeType(String scopeName)
Maps a string to ScopeType |
String |
toString()
Returns the value of this enum |
static ScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ScopeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ScopeType COMPILE
public static final ScopeType PROVIDED
public static final ScopeType RUNTIME
public static final ScopeType TEST
public static final ScopeType SYSTEM
public static final ScopeType IMPORT
| Method Detail |
|---|
public static ScopeType[] values()
for (ScopeType c : ScopeType.values()) System.out.println(c);
public static ScopeType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
value of this enum
toString in class Enum<ScopeType>Enum.toString()
public static ScopeType fromScopeType(String scopeName)
throws IllegalArgumentException
scopeName - String name of the scope type
IllegalArgumentException - Thrown if scopeName is null, empty or does not represent a valid scope type
|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||