public static enum FailDecision.Reaction extends Enum<FailDecision.Reaction>
Enum Constant and Description |
---|
FAIL
Simply fail.
|
RETRY
Retry.
|
RETRYONCE
Retry but max once.
|
Modifier and Type | Method and Description |
---|---|
static FailDecision.Reaction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailDecision.Reaction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailDecision.Reaction FAIL
public static final FailDecision.Reaction RETRY
public static final FailDecision.Reaction RETRYONCE
public static FailDecision.Reaction[] values()
for (FailDecision.Reaction c : FailDecision.Reaction.values()) System.out.println(c);
public static FailDecision.Reaction 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 © 2010-2014 anotheria.net. All Rights Reserved.