public enum FailoverRestriction extends java.lang.Enum<FailoverRestriction>
| Enum Constant and Description |
|---|
DISABLE_TASK_A |
ENABLE_WRITER_IN_TASK_B |
| Modifier and Type | Method and Description |
|---|---|
static FailoverRestriction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailoverRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailoverRestriction DISABLE_TASK_A
public static final FailoverRestriction ENABLE_WRITER_IN_TASK_B
public static FailoverRestriction[] values()
for (FailoverRestriction c : FailoverRestriction.values()) System.out.println(c);
public static FailoverRestriction 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 null