public enum CreateOrderSagaState extends Enum<CreateOrderSagaState>
| Enum Constant and Description |
|---|
APPROVED |
REJECTED |
RESERVING_CREDIT |
| Modifier and Type | Method and Description |
|---|---|
static CreateOrderSagaState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateOrderSagaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateOrderSagaState RESERVING_CREDIT
public static final CreateOrderSagaState APPROVED
public static final CreateOrderSagaState REJECTED
public static CreateOrderSagaState[] values()
for (CreateOrderSagaState c : CreateOrderSagaState.values()) System.out.println(c);
public static CreateOrderSagaState 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 © 2020. All rights reserved.