public enum SagaStatus extends Enum<SagaStatus>
ActionStatus
Enum Constant and Description |
---|
Completed
All actions in the saga have completed successfully.
|
Failed
One or more actions have failed, and all actions that had previously succeed have been undone, or have been bypassed if no undo is available.
|
FailurePending
An action has failed, but there are still actions that are in parallel to the failed actions that are in still in progress.
|
InFailure
An action has failed, and actions are executing in undo mode (i.e.
|
InProgress
The saga has started processing, and one or more actions have either started processing or completed, but there are still action that have not completed.
|
NotStarted
The saga has not started.
|
Modifier and Type | Method and Description |
---|---|
static SagaStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SagaStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SagaStatus NotStarted
public static final SagaStatus InProgress
public static final SagaStatus Completed
public static final SagaStatus FailurePending
public static final SagaStatus InFailure
public static final SagaStatus Failed
public static SagaStatus[] values()
for (SagaStatus c : SagaStatus.values()) System.out.println(c);
public static SagaStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.