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