public enum AllocationState extends Enum<AllocationState>
Modifier and Type | Method and Description |
---|---|
static AllocationState |
fromValue(String value) |
String |
toString() |
static AllocationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationState DISABLED
public static final AllocationState ENABLED
public static final AllocationState UNKNOWN
public static AllocationState[] values()
for (AllocationState c : AllocationState.values()) System.out.println(c);
public static AllocationState 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 AllocationState fromValue(String value)
public String toString()
toString
in class Enum<AllocationState>
Copyright © 2009-2012 jclouds. All Rights Reserved.