com.liferay.portal.kernel.test.rule
Enum NewEnv.Type
java.lang.Object
java.lang.Enum<NewEnv.Type>
com.liferay.portal.kernel.test.rule.NewEnv.Type
- All Implemented Interfaces:
- Serializable, Comparable<NewEnv.Type>
- Enclosing class:
- NewEnv
public static enum NewEnv.Type
- extends Enum<NewEnv.Type>
|
Method Summary |
static NewEnv.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NewEnv.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CLASSLOADER
public static final NewEnv.Type CLASSLOADER
JVM
public static final NewEnv.Type JVM
NONE
public static final NewEnv.Type NONE
values
public static NewEnv.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (NewEnv.Type c : NewEnv.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NewEnv.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null