SagaStepStatus

Lifecycle status of an individual saga step (SagaStep).

Steps progress independently of the owning Saga status; the saga engine uses step statuses to decide whether the saga as a whole can be marked COMPLETED (all steps COMPLETED) or must be compensated (any FAILED).

Terminal statuses (COMPLETED, FAILED, COMPENSATED, COMPENSATION_FAILED) prevent the engine from re-applying a different status to the same step (idempotency guard inside recordSagaStep).

Entries

Link copied to clipboard

Initial state, written by SagaEngine.recordSagaStep before applying the requested status.

Link copied to clipboard

Terminal — step finished successfully.

Link copied to clipboard

Terminal — step failed; triggers saga-level compensation.

Link copied to clipboard

Terminal — step was successfully rolled back by SagaCompensator.

Link copied to clipboard

Terminal — compensator failed to roll back the step; eligible for watchdog retry.

Link copied to clipboard

Step succeeded only in part (rare; reserved for steps that publish to multiple downstream effects and want to record partial success without triggering full compensation).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.