public enum ScopeType extends Enum<ScopeType>
| Enum Constant and Description |
|---|
COMPILE |
IMPORT |
OTHER |
PROVIDED |
RUNTIME |
SYSTEM |
TEST |
| Modifier and Type | Method and Description |
|---|---|
static ScopeType |
from(String type) |
String |
getScope() |
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.
|
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
public static final ScopeType OTHER
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 nameNullPointerException - if the argument is nullpublic String getScope()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.