public enum FederationTopology extends Enum<FederationTopology>
Enum Constant and Description |
---|
ACTIVE_ACTIVE |
ACTIVE_PASSIVE |
NONE |
PASSIVE_ACTIVE |
Modifier and Type | Method and Description |
---|---|
static FederationTopology |
fromValue(String value) |
String |
toString() |
String |
value() |
static FederationTopology |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FederationTopology[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FederationTopology ACTIVE_ACTIVE
public static final FederationTopology ACTIVE_PASSIVE
public static final FederationTopology PASSIVE_ACTIVE
public static final FederationTopology NONE
public static FederationTopology[] values()
for (FederationTopology c : FederationTopology.values()) System.out.println(c);
public static FederationTopology 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 nullpublic static FederationTopology fromValue(String value)
public String toString()
toString
in class Enum<FederationTopology>
public String value()