Enum Class TaskExecutionState
- All Implemented Interfaces:
- Serializable,- Comparable<TaskExecutionState>,- Constable
All possible values for the execution state of a task.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisActive()If the task is in an active state, the task can go into a different state by itself.booleanDetermines if the task is in a state where it is executing steps.booleanDetermines if the task has been executing but is halted and can be continued.booleanisFinal()If the task is in a final state, it will never change again to another state.booleanDetermines if the task is never been executing.booleanIf the task is in a passive state, the task will not go into a different state by itself.booleanDetermines if the task is passive but it has been executing steps.static TaskExecutionStateReturns the enum constant of this class with the specified name.static TaskExecutionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
UNREGISTERED
- 
PENDING
- 
SCHEDULED
- 
QUEUED
- 
EXECUTING
- 
FAILING
- 
FAILED
- 
STOPPING
- 
STOPPED
- 
ABORTING
- 
ABORTED
- 
EXECUTED
- 
DONE
- 
CANCELLED
- 
CANCELLING
- 
FORCE_CANCELLED
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
isFinalpublic boolean isFinal()If the task is in a final state, it will never change again to another state.- Returns:
- true if task is in a final state.
 
- 
isActivepublic boolean isActive()If the task is in an active state, the task can go into a different state by itself.- Returns:
- true if task is in active state.
 
- 
isPassivepublic boolean isPassive()If the task is in a passive state, the task will not go into a different state by itself.- Returns:
- true if task is in active state.
 
- 
isExecutingStepspublic boolean isExecutingSteps()Determines if the task is in a state where it is executing steps. This is a subset ofisActive()- Returns:
- true if task is executing steps
 
- 
isPassiveAfterExecutingpublic boolean isPassiveAfterExecuting()Determines if the task is passive but it has been executing steps.- Returns:
- true if task is passive after it has been executing steps
 
- 
isExecutionHaltedpublic boolean isExecutionHalted()Determines if the task has been executing but is halted and can be continued.- Returns:
- true if task is halted
 
- 
isNotBeenExecutingpublic boolean isNotBeenExecuting()Determines if the task is never been executing.- Returns:
- true if the task is never been executing
 
 
-