Enum Class SagaStepState
- All Implemented Interfaces:
Serializable, Comparable<SagaStepState>, Constable
Durable saga step lifecycle state.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStep was cancelled by policy.Step compensation succeeded.Step compensation is running.Step compensation failed and may retry or dead-letter.Step or compensation failure was moved to durable dead-letter state.Step action failed.Step has not started.Step is waiting for deterministic retry eligibility.Step action is running.Step was skipped by policy after cancellation or failure.Step action succeeded and may be compensated later if needed.Step exceeded its step timeout. -
Method Summary
Modifier and TypeMethodDescriptionstatic SagaStepStateReturns the enum constant of this class with the specified name.static SagaStepState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
Step has not started. -
RUNNING
Step action is running. -
SUCCEEDED
Step action succeeded and may be compensated later if needed. -
FAILED
Step action failed. -
RETRY_PENDING
Step is waiting for deterministic retry eligibility. -
COMPENSATING
Step compensation is running. -
COMPENSATED
Step compensation succeeded. -
COMPENSATION_FAILED
Step compensation failed and may retry or dead-letter. -
DEAD_LETTERED
Step or compensation failure was moved to durable dead-letter state. -
SKIPPED
Step was skipped by policy after cancellation or failure. -
CANCELLED
Step was cancelled by policy. -
TIMED_OUT
Step exceeded its step timeout.
-
-
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
-