Package org.jclouds.cloudstack.domain
Enum Cluster.ManagedState
- java.lang.Object
-
- java.lang.Enum<Cluster.ManagedState>
-
- org.jclouds.cloudstack.domain.Cluster.ManagedState
-
- All Implemented Interfaces:
Serializable
,Comparable<Cluster.ManagedState>
- Enclosing class:
- Cluster
public static enum Cluster.ManagedState extends Enum<Cluster.ManagedState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANAGED
PREPARE_UNMANAGED
PREPARE_UNMANAGED_ERROR
UNMANAGED
UNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
MANAGED
public static final Cluster.ManagedState MANAGED
-
PREPARE_UNMANAGED
public static final Cluster.ManagedState PREPARE_UNMANAGED
-
UNMANAGED
public static final Cluster.ManagedState UNMANAGED
-
PREPARE_UNMANAGED_ERROR
public static final Cluster.ManagedState PREPARE_UNMANAGED_ERROR
-
UNRECOGNIZED
public static final Cluster.ManagedState UNRECOGNIZED
-
-
Method Detail
-
values
public static Cluster.ManagedState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Cluster.ManagedState c : Cluster.ManagedState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cluster.ManagedState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
public static Cluster.ManagedState fromValue(String value)
-
toString
public String toString()
- Overrides:
toString
in classEnum<Cluster.ManagedState>
-
-