public enum CommitStatus extends java.lang.Enum<CommitStatus>
| Enum Constant and Description |
|---|
FAILURE
Indicates a aborted transaction i.e.
|
SUCCESS
Indicates a successfully completed transaction with all the updates committed.
|
| Modifier and Type | Method and Description |
|---|---|
static CommitStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommitStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitStatus SUCCESS
public static final CommitStatus FAILURE
public static CommitStatus[] values()
for (CommitStatus c : CommitStatus.values()) System.out.println(c);
public static CommitStatus 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 null