Enum ExecutionState
- java.lang.Object
-
- java.lang.Enum<ExecutionState>
-
- com.dtolabs.rundeck.core.execution.workflow.state.ExecutionState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExecutionState>
public enum ExecutionState extends java.lang.Enum<ExecutionState>
$INTERFACE is ... User: greg Date: 10/15/13 Time: 2:52 PM
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED
Execution was abortedFAILED
Finished with a failureNODE_MIXED
Mixed states among nodesNODE_PARTIAL_SUCCEEDED
Partial success for some nodesNOT_STARTED
After waiting the execution did not startRUNNING
Currently runningRUNNING_HANDLER
Running error handlerSUCCEEDED
Finished running successfullyWAITING
Waiting to start running
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompletedState()
static ExecutionState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExecutionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAITING
public static final ExecutionState WAITING
Waiting to start running
-
RUNNING
public static final ExecutionState RUNNING
Currently running
-
RUNNING_HANDLER
public static final ExecutionState RUNNING_HANDLER
Running error handler
-
SUCCEEDED
public static final ExecutionState SUCCEEDED
Finished running successfully
-
FAILED
public static final ExecutionState FAILED
Finished with a failure
-
ABORTED
public static final ExecutionState ABORTED
Execution was aborted
-
NODE_PARTIAL_SUCCEEDED
public static final ExecutionState NODE_PARTIAL_SUCCEEDED
Partial success for some nodes
-
NODE_MIXED
public static final ExecutionState NODE_MIXED
Mixed states among nodes
-
NOT_STARTED
public static final ExecutionState NOT_STARTED
After waiting the execution did not start
-
-
Method Detail
-
values
public static ExecutionState[] 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 (ExecutionState c : ExecutionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionState valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isCompletedState
public boolean isCompletedState()
-
-