Enum Class ExecutionState
- All Implemented Interfaces:
Serializable, Comparable<ExecutionState>, Constable
Deprecated.
Enum to support worker execution states
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDeprecated.Check if queried type existsstatic intDeprecated.Return index of queried stateabstract booleanDeprecated.Compare to queried state stringabstract booleanisState(ExecutionState query) Deprecated.Compare to queried to stateabstract StringtoString()Deprecated.Represent value as a stringstatic ExecutionStateDeprecated.Returns the enum constant of this class with the specified name.static ExecutionState[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUEUED
Deprecated. -
PREPARE
Deprecated. -
LOCKED
Deprecated. -
RUNNING
Deprecated. -
COMPLETED
Deprecated. -
FAILED
Deprecated. -
ABORTED
Deprecated. -
SKIPPED
Deprecated.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
isState
Deprecated.Compare to queried state string- Parameters:
query-- Returns:
- boolean
-
isState
Deprecated.Compare to queried to state- Parameters:
query-- Returns:
- boolean
-
toString
Deprecated.Represent value as a string- Overrides:
toStringin classEnum<ExecutionState>- Returns:
- String
-
indexOf
Deprecated.Return index of queried state- Parameters:
query-- Returns:
- int
-
hasType
Deprecated.Check if queried type exists- Parameters:
query-- Returns:
- boolean
-