public static enum CommitParams.CommitQueueErrorOption extends Enum<CommitParams.CommitQueueErrorOption>
| Enum Constant and Description |
|---|
CONTINUE_ON_ERROR |
ROLLBACK_ON_ERROR |
STOP_ON_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static CommitParams.CommitQueueErrorOption |
fromValue(int value) |
int |
getValue() |
String |
toString() |
static CommitParams.CommitQueueErrorOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitParams.CommitQueueErrorOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitParams.CommitQueueErrorOption CONTINUE_ON_ERROR
public static final CommitParams.CommitQueueErrorOption ROLLBACK_ON_ERROR
public static final CommitParams.CommitQueueErrorOption STOP_ON_ERROR
public static CommitParams.CommitQueueErrorOption[] values()
for (CommitParams.CommitQueueErrorOption c : CommitParams.CommitQueueErrorOption.values()) System.out.println(c);
public static CommitParams.CommitQueueErrorOption 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 nullpublic int getValue()
public static CommitParams.CommitQueueErrorOption fromValue(int value)
public String toString()
toString in class Enum<CommitParams.CommitQueueErrorOption>