public static enum Transaction.Status extends Enum<Transaction.Status>
| Enum Constant and Description |
|---|
CLOSED |
COMMIT_PENDING |
COMMITTED |
OPEN |
PENDING |
ROLLBACK_PENDING |
ROLLEDBACK |
| Modifier and Type | Method and Description |
|---|---|
static Transaction.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.Status OPEN
public static final Transaction.Status PENDING
public static final Transaction.Status ROLLEDBACK
public static final Transaction.Status COMMITTED
public static final Transaction.Status CLOSED
public static final Transaction.Status ROLLBACK_PENDING
public static final Transaction.Status COMMIT_PENDING
public static Transaction.Status[] values()
for (Transaction.Status c : Transaction.Status.values()) System.out.println(c);
public static Transaction.Status 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 © 2015–2023 Neo Technology, Inc.. All rights reserved.