public static enum CommandEnvironment.BaseEnvironment extends Enum<CommandEnvironment.BaseEnvironment>
Enum Constant and Description |
---|
DEFAULT
The default environment.
|
EMPTY
The empty environment.
|
Modifier and Type | Method and Description |
---|---|
static CommandEnvironment.BaseEnvironment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandEnvironment.BaseEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandEnvironment.BaseEnvironment DEFAULT
public static final CommandEnvironment.BaseEnvironment EMPTY
public static CommandEnvironment.BaseEnvironment[] values()
for (CommandEnvironment.BaseEnvironment c : CommandEnvironment.BaseEnvironment.values()) System.out.println(c);
public static CommandEnvironment.BaseEnvironment 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 null