public static enum ScriptExecutor.State extends Enum<ScriptExecutor.State>
Modifier and Type | Method and Description |
---|---|
static ScriptExecutor.State |
fromString(String stateStr) |
String |
toString() |
static ScriptExecutor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptExecutor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptExecutor.State STARTED
public static final ScriptExecutor.State STOPPED
public static final ScriptExecutor.State PAUSED
public static ScriptExecutor.State[] values()
for (ScriptExecutor.State c : ScriptExecutor.State.values()) System.out.println(c);
public static ScriptExecutor.State 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 toString()
toString
in class Enum<ScriptExecutor.State>
public static ScriptExecutor.State fromString(String stateStr)
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.