public static enum Cluster.ManagedState extends Enum<Cluster.ManagedState>
| Enum Constant and Description |
|---|
MANAGED |
PREPARE_UNMANAGED |
PREPARE_UNMANAGED_ERROR |
UNMANAGED |
UNRECOGNIZED |
| Modifier and Type | Method and Description |
|---|---|
static Cluster.ManagedState |
fromValue(String value) |
String |
toString() |
static Cluster.ManagedState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.ManagedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.ManagedState MANAGED
public static final Cluster.ManagedState PREPARE_UNMANAGED
public static final Cluster.ManagedState UNMANAGED
public static final Cluster.ManagedState PREPARE_UNMANAGED_ERROR
public static final Cluster.ManagedState UNRECOGNIZED
public static Cluster.ManagedState[] values()
for (Cluster.ManagedState c : Cluster.ManagedState.values()) System.out.println(c);
public static Cluster.ManagedState 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 Cluster.ManagedState fromValue(String value)
public String toString()
toString in class Enum<Cluster.ManagedState>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.