public enum TransactionState extends Enum<TransactionState> implements SphereEnumeration
SphereEnumeration
.Modifier and Type | Method and Description |
---|---|
static TransactionState |
ofSphereValue(String value) |
static TransactionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
findBySphereName, name, toSphereName
public static final TransactionState INITIAL
public static final TransactionState PENDING
public static final TransactionState SUCCESS
public static final TransactionState FAILURE
public static TransactionState[] values()
for (TransactionState c : TransactionState.values()) System.out.println(c);
public static TransactionState 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 nullpublic static TransactionState ofSphereValue(String value)