Enum Class TaskStatus
- All Implemented Interfaces:
Serializable
,Comparable<TaskStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen a task's abort script is being evaluatedDeprecated, for removal: This API element is subject to removal in a future version.Used only in upgrader to deserialize releaseWhen the release is aborted, all tasks that are not completed are marked as aborted.When a task is doneWhen a task that is not yet in progress is completedWhen the facet (aka attributes are being checked)When a task has been failed, it can be re-tried.When a parallel group has failed subtasks, but other subtasks still in progress or pending.When a task's failure handler is being evaluatedDeprecated, for removal: This API element is subject to removal in a future version.Used only in upgrader to deserialize releaseWhen a task has been startedWhen a task is about to be started, but is waiting for its scheduled start date to be reached.When a task is not started yet,When a task's precondition is being evaluatedDeprecated, for removal: This API element is subject to removal in a future version.Used only in upgrader to deserialize releaseWhen a task is done, but completion was forced.When a task that is not yet in progress is skippedWhen a task needs extra input to be started: missing required variables. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TaskStatus[]
static final TaskStatus[]
static final TaskStatus[]
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isActive()
boolean
isDone()
boolean
boolean
boolean
isOneOf
(TaskStatus... statuses) value()
static TaskStatus
Returns the enum constant of this class with the specified name.static TaskStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLANNED
When a task is not started yet, -
PENDING
When a task is about to be started, but is waiting for its scheduled start date to be reached. -
IN_PROGRESS
When a task has been started -
QUEUED
Deprecated, for removal: This API element is subject to removal in a future version.Used only in upgrader to deserialize release -
ABORT_SCRIPT_QUEUED
Deprecated, for removal: This API element is subject to removal in a future version.Used only in upgrader to deserialize release -
FAILURE_HANDLER_QUEUED
Deprecated, for removal: This API element is subject to removal in a future version.Used only in upgrader to deserialize release -
COMPLETED
When a task is done -
COMPLETED_IN_ADVANCE
When a task that is not yet in progress is completed -
SKIPPED
When a task is done, but completion was forced. -
SKIPPED_IN_ADVANCE
When a task that is not yet in progress is skipped -
FAILED
When a task has been failed, it can be re-tried. -
FAILING
When a parallel group has failed subtasks, but other subtasks still in progress or pending. -
ABORTED
When the release is aborted, all tasks that are not completed are marked as aborted. -
PRECONDITION_IN_PROGRESS
When a task's precondition is being evaluated -
WAITING_FOR_INPUT
When a task needs extra input to be started: missing required variables. -
FAILURE_HANDLER_IN_PROGRESS
When a task's failure handler is being evaluated -
FACET_CHECK_IN_PROGRESS
When the facet (aka attributes are being checked) -
ABORT_SCRIPT_IN_PROGRESS
When a task's abort script is being evaluated
-
-
Field Details
-
ACTIVE_STATUSES
-
IN_PROGRESS_STATUSES
-
FAILED_STATUSES
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
value
-
hasBeenStarted
public boolean hasBeenStarted() -
isDone
public boolean isDone() -
isDoneInAdvance
public boolean isDoneInAdvance() -
isActive
public boolean isActive() -
isInactive
public boolean isInactive() -
isOneOf
-