public enum TransactionMode extends java.lang.Enum<TransactionMode>
Enum Constant and Description |
---|
LIVE
The mode to process transaction in live system.
|
TEST
The mode to process transaction in test system.
|
Modifier and Type | Method and Description |
---|---|
static TransactionMode |
getByName(java.lang.String name)
Parses
TransactionMode object from its string representation. |
static TransactionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionMode TEST
public static final TransactionMode LIVE
public static TransactionMode[] values()
for (TransactionMode c : TransactionMode.values()) System.out.println(c);
public static TransactionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TransactionMode getByName(java.lang.String name)
TransactionMode
object from its string representation.name
- string representation for the transaction mode, e.g. "TEST"TransactionMode
object created from the string