Package io.dapr.durabletask
Enum OrchestrationRuntimeStatus
- All Implemented Interfaces:
Serializable,Comparable<OrchestrationRuntimeStatus>
Enum describing the runtime status of the orchestration.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe orchestration canceled gracefully.The orchestration completed normally.The orchestration is transitioning into a new instance.The orchestration completed with an unhandled exception.The orchestration was scheduled but hasn't started running.The orchestration started running.The orchestration is in a stalled state.The orchestration is in a suspended state.The orchestration was abruptly terminated via a management API call. -
Method Summary
Modifier and TypeMethodDescriptionstatic OrchestrationRuntimeStatusReturns the enum constant of this type with the specified name.static OrchestrationRuntimeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RUNNING
The orchestration started running. -
COMPLETED
The orchestration completed normally. -
CONTINUED_AS_NEW
The orchestration is transitioning into a new instance. This status value is obsolete and exists only for compatibility reasons. -
FAILED
The orchestration completed with an unhandled exception. -
CANCELED
The orchestration canceled gracefully. The Canceled status is not currently used and exists only for compatibility reasons. -
TERMINATED
The orchestration was abruptly terminated via a management API call. -
PENDING
The orchestration was scheduled but hasn't started running. -
SUSPENDED
The orchestration is in a suspended state. -
STALLED
The orchestration is in a stalled state.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-