com.dtolabs.rundeck.core.execution.workflow.state
Enum ExecutionState

java.lang.Object
  extended by java.lang.Enum<ExecutionState>
      extended by 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
ABORTED
          Execution was aborted
FAILED
          Finished with a failure
NODE_MIXED
          Mixed states among nodes
NODE_PARTIAL_SUCCEEDED
          Partial success for some nodes
NOT_STARTED
          After waiting the execution did not start
RUNNING
          Currently running
RUNNING_HANDLER
          Running error handler
SUCCEEDED
          Finished running successfully
WAITING
          Waiting to start running
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
java.lang.NullPointerException - if the argument is null

isCompletedState

public boolean isCompletedState()