public enum CommandMode extends Enum<CommandMode>
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggingEnabled() |
static CommandMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandMode RELEASE
public static final CommandMode TEST
public static CommandMode[] values()
for (CommandMode c : CommandMode.values()) System.out.println(c);
public static CommandMode 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 boolean isLoggingEnabled()