public enum RecoveryStrategy extends java.lang.Enum<RecoveryStrategy>
| Enum Constant and Description |
|---|
ALWAYS_RETRY
Automatically retry the change on subsequent runs until successful.
|
MANUAL_INTERVENTION
Require manual intervention before retrying.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAlwaysRetry()
Checks if this strategy allows automatic retries.
|
static RecoveryStrategy |
valueOf(java.lang.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 ALWAYS_RETRY
public static final RecoveryStrategy MANUAL_INTERVENTION
public static RecoveryStrategy[] values()
for (RecoveryStrategy c : RecoveryStrategy.values()) System.out.println(c);
public static RecoveryStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isAlwaysRetry()
true if automatic retry is enabled