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