public enum TxState extends Enum<TxState>
| Enum Constant and Description |
|---|
COMMITING |
DONE |
INITIAL |
RESET |
ROLLING_BACK |
| Modifier and Type | Method and Description |
|---|---|
static TxState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxState INITIAL
public static final TxState RESET
public static final TxState COMMITING
public static final TxState ROLLING_BACK
public static final TxState DONE
public static TxState[] values()
for (TxState c : TxState.values()) System.out.println(c);
public static TxState 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 © 2013–2014 Nikolche Mihajlovski. All rights reserved.