public static enum Transaction.State extends Enum<Transaction.State>
Enum Constant and Description |
---|
ACTIVE |
COMMITTED |
PREPARED |
ROLLBACK_ONLY |
ROLLEDBACK |
SUSPENDED |
Modifier and Type | Method and Description |
---|---|
static Transaction.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.State ACTIVE
public static final Transaction.State PREPARED
public static final Transaction.State COMMITTED
public static final Transaction.State ROLLEDBACK
public static final Transaction.State SUSPENDED
public static final Transaction.State ROLLBACK_ONLY
public static Transaction.State[] values()
for (Transaction.State c : Transaction.State.values()) System.out.println(c);
public static Transaction.State 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 © 2018 JBoss by Red Hat. All rights reserved.