public static enum Types.ClusterHostOperation extends java.lang.Enum<Types.ClusterHostOperation>
Enum Constant and Description |
---|
DESTROY
completely destroying a cluster host
|
DISABLE
disabling cluster membership on a particular host
|
ENABLE
enabling cluster membership on a particular host
|
UNRECOGNIZED
The value does not belong to this enumeration
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Types.ClusterHostOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types.ClusterHostOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.ClusterHostOperation UNRECOGNIZED
public static final Types.ClusterHostOperation ENABLE
public static final Types.ClusterHostOperation DISABLE
public static final Types.ClusterHostOperation DESTROY
public static Types.ClusterHostOperation[] values()
for (Types.ClusterHostOperation c : Types.ClusterHostOperation.values()) System.out.println(c);
public static Types.ClusterHostOperation 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 java.lang.String toString()
toString
in class java.lang.Enum<Types.ClusterHostOperation>