- java.lang.Object
-
- java.lang.Enum<ExecutionContext.State>
-
- org.praxislive.core.ExecutionContext.State
-
- All Implemented Interfaces:
Serializable,Comparable<ExecutionContext.State>
- Enclosing interface:
- ExecutionContext
public static enum ExecutionContext.State extends Enum<ExecutionContext.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEIDLENEWTERMINATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionContext.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static ExecutionContext.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final ExecutionContext.State NEW
-
ACTIVE
public static final ExecutionContext.State ACTIVE
-
IDLE
public static final ExecutionContext.State IDLE
-
TERMINATED
public static final ExecutionContext.State TERMINATED
-
-
Method Detail
-
values
public static ExecutionContext.State[] 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 (ExecutionContext.State c : ExecutionContext.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionContext.State 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 nameNullPointerException- if the argument is null
-
-