org.springframework.yarn.batch.listener
Enum PartitionedStepExecutionStateListener.PartitionedStepExecutionState
java.lang.Object
java.lang.Enum<PartitionedStepExecutionStateListener.PartitionedStepExecutionState>
org.springframework.yarn.batch.listener.PartitionedStepExecutionStateListener.PartitionedStepExecutionState
- All Implemented Interfaces:
- Serializable, Comparable<PartitionedStepExecutionStateListener.PartitionedStepExecutionState>
- Enclosing interface:
- PartitionedStepExecutionStateListener
public static enum PartitionedStepExecutionStateListener.PartitionedStepExecutionState
- extends Enum<PartitionedStepExecutionStateListener.PartitionedStepExecutionState>
Enum for partitioned step states
|
Enum Constant Summary |
COMPLETED
Appmaster completed state |
COMPLETED
public static final PartitionedStepExecutionStateListener.PartitionedStepExecutionState COMPLETED
- Appmaster completed state
values
public static PartitionedStepExecutionStateListener.PartitionedStepExecutionState[] 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 (PartitionedStepExecutionStateListener.PartitionedStepExecutionState c : PartitionedStepExecutionStateListener.PartitionedStepExecutionState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PartitionedStepExecutionStateListener.PartitionedStepExecutionState 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 name
NullPointerException - if the argument is null