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