public enum ShouldCommit extends java.lang.Enum<ShouldCommit>
Enum Constant and Description |
---|
NO
No, created or changed objects should not be committed.
|
YES
Yes, created or changed objects should be committed.
|
YESWITHOUTEVENTS
Yes, created or changed objects should be committed, but no events should be triggered.
|
Modifier and Type | Method and Description |
---|---|
static ShouldCommit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShouldCommit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShouldCommit YES
public static final ShouldCommit YESWITHOUTEVENTS
public static final ShouldCommit NO
public static ShouldCommit[] values()
for (ShouldCommit c : ShouldCommit.values()) System.out.println(c);
public static ShouldCommit 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