Enum Class IsolationExecutionState
- All Implemented Interfaces:
Serializable, Comparable<IsolationExecutionState>, Constable
Lifecycle state of an isolated execution.
States are ordered operationally but are not ordinal API. Implementations must record transitions consistently in audit/status data and reject invalid transitions through a stable failure code.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExecution was cancelled by caller request.Provider-owned work resources were cleaned up.Execution completed successfully according to provider policy.Request has been accepted but no provider work has started.Execution failed before normal completion.Execution was forcibly terminated.Execution is actively running.Provider is preparing policy, process, or capture resources.Execution exceeded its configured deadline. -
Method Summary
Modifier and TypeMethodDescriptionstatic IsolationExecutionStateReturns the enum constant of this class with the specified name.static IsolationExecutionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
Request has been accepted but no provider work has started. -
STARTING
Provider is preparing policy, process, or capture resources. -
RUNNING
Execution is actively running. -
COMPLETED
Execution completed successfully according to provider policy. -
FAILED
Execution failed before normal completion. -
CANCELLED
Execution was cancelled by caller request. -
TIMED_OUT
Execution exceeded its configured deadline. -
KILLED
Execution was forcibly terminated. -
CLEANED_UP
Provider-owned work resources were cleaned up.
-
-
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
-