public enum AttemptsAutoIncrementType extends Enum<AttemptsAutoIncrementType>
| Enum Constant and Description |
|---|
ALWAYS |
IF_MAX_NOT_REACHED |
IF_MAX_REACHED |
NEVER |
| Modifier and Type | Method and Description |
|---|---|
static AttemptsAutoIncrementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttemptsAutoIncrementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttemptsAutoIncrementType NEVER
public static final AttemptsAutoIncrementType ALWAYS
public static final AttemptsAutoIncrementType IF_MAX_REACHED
public static final AttemptsAutoIncrementType IF_MAX_NOT_REACHED
public static AttemptsAutoIncrementType[] values()
for (AttemptsAutoIncrementType c : AttemptsAutoIncrementType.values()) System.out.println(c);
public static AttemptsAutoIncrementType 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 nullCopyright © 2018. All rights reserved.