public static enum TaskGroupState.State extends Enum<TaskGroupState.State>
Enum Constant and Description |
---|
COMPLETE |
EXECUTING |
FAILED_RECOVERABLE |
FAILED_UNRECOVERABLE |
ON_HOLD |
READY |
Modifier and Type | Method and Description |
---|---|
static TaskGroupState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskGroupState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskGroupState.State READY
public static final TaskGroupState.State EXECUTING
public static final TaskGroupState.State COMPLETE
public static final TaskGroupState.State FAILED_RECOVERABLE
public static final TaskGroupState.State FAILED_UNRECOVERABLE
public static final TaskGroupState.State ON_HOLD
public static TaskGroupState.State[] values()
for (TaskGroupState.State c : TaskGroupState.State.values()) System.out.println(c);
public static TaskGroupState.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 nullCopyright © 2018. All rights reserved.