public enum CloseOption extends Enum<CloseOption>
| Enum Constant and Description |
|---|
FORCED |
IMPLICIT |
NO_CACHE |
PROPAGATE |
ROLLBACK |
| Modifier and Type | Method and Description |
|---|---|
boolean |
in(CloseOption... options) |
boolean |
notIn(CloseOption... options) |
static CloseOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloseOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloseOption IMPLICIT
public static final CloseOption FORCED
public static final CloseOption ROLLBACK
public static final CloseOption PROPAGATE
public static final CloseOption NO_CACHE
public static CloseOption[] values()
for (CloseOption c : CloseOption.values()) System.out.println(c);
public static CloseOption 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 boolean in(CloseOption... options)
public boolean notIn(CloseOption... options)