public enum GrouperCommitType extends Enum<GrouperCommitType>
Enum Constant and Description |
---|
COMMIT_IF_NEW_TRANSACTION
only commit if this is a new transaction
|
COMMIT_NOW
always commit right now
|
Modifier and Type | Method and Description |
---|---|
static GrouperCommitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrouperCommitType |
valueOfIgnoreCase(String string)
do a case-insensitive matching
|
static GrouperCommitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrouperCommitType COMMIT_NOW
public static final GrouperCommitType COMMIT_IF_NEW_TRANSACTION
public static GrouperCommitType[] values()
for (GrouperCommitType c : GrouperCommitType.values()) System.out.println(c);
public static GrouperCommitType 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 static GrouperCommitType valueOfIgnoreCase(String string)
string
- Copyright © 2016 Internet2. All rights reserved.