public enum RecoveryStrategy extends Enum<RecoveryStrategy>
| Modifier and Type | Method and Description |
|---|---|
static RecoveryStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryStrategy TERMINATE
public static final RecoveryStrategy RECONNECT
public static final RecoveryStrategy PROCEED
public static RecoveryStrategy[] values()
for (RecoveryStrategy c : RecoveryStrategy.values()) System.out.println(c);
public static RecoveryStrategy 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 © 2011-2013. All Rights Reserved.