ExecutionState Objects
Subclass of Enum.
This class enumerates the task execution states.
Constants:
- ERROR (ExecutionState) : The task has completed with an error.
- EXECUTING (ExecutionState) : The task is still executing.
- SUBMITTED (ExecutionState) : The task has been submitted for execution but not yet started.
- SUCCESS (ExecutionState) : The task has completed successfully.
- TERMINATED (ExecutionState) : The task has completed prematurely as the result of a terminate request.
- TERMINATING (ExecutionState) : A terminate request has been issued but the task has not yet completed.
getEnum(name) : ExecutionState
name (string) : the enumeration name
Returns the enumeration with the supplied name or None if no enumeration exists for the supplied name.
getValues() : ExecutionState[]
Returns an array containing all the valid values for this enumeration class.
e.isCompletedState() : boolean
Returns True if this state represents a task that is no longer executing. This true for SUCCESS, TERMINATED and ERROR states.