public enum CommitMode extends Enum<CommitMode>
Enum Constant and Description |
---|
IMMEDIATE |
MANUAL |
ON_LOST_FOCUS |
Modifier and Type | Method and Description |
---|---|
static CommitMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitMode IMMEDIATE
public static final CommitMode ON_LOST_FOCUS
public static final CommitMode MANUAL
public static CommitMode[] values()
for (CommitMode c : CommitMode.values()) System.out.println(c);
public static CommitMode 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 null