public enum BlockExecutionState extends java.lang.Enum<BlockExecutionState>
Enum Constant and Description |
---|
ABORTED |
ABORTING |
DONE |
EXECUTING |
FAILED |
FAILING |
PENDING |
STOPPED |
STOPPING |
Modifier and Type | Method and Description |
---|---|
boolean |
isFinished() |
static BlockExecutionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockExecutionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockExecutionState PENDING
public static final BlockExecutionState EXECUTING
public static final BlockExecutionState DONE
public static final BlockExecutionState FAILING
public static final BlockExecutionState FAILED
public static final BlockExecutionState STOPPING
public static final BlockExecutionState STOPPED
public static final BlockExecutionState ABORTING
public static final BlockExecutionState ABORTED
public static BlockExecutionState[] values()
for (BlockExecutionState c : BlockExecutionState.values()) System.out.println(c);
public static BlockExecutionState 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 nullpublic boolean isFinished()