public enum ScriptState extends java.lang.Enum<ScriptState>
Enum Constant and Description |
---|
ANTIRANDOM |
DESTROYED |
NOT_STARTED |
PAUSED |
RUNNING |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static ScriptState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScriptState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptState NOT_STARTED
public static final ScriptState RUNNING
public static final ScriptState ANTIRANDOM
public static final ScriptState STOPPING
public static final ScriptState DESTROYED
public static final ScriptState PAUSED
public static ScriptState[] values()
for (ScriptState c : ScriptState.values()) System.out.println(c);
public static ScriptState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null