org.jclouds.openstack.nova.domain
Enum ImageStatus
java.lang.Object
java.lang.Enum<ImageStatus>
org.jclouds.openstack.nova.domain.ImageStatus
- All Implemented Interfaces:
- Serializable, Comparable<ImageStatus>
public enum ImageStatus
- extends Enum<ImageStatus>
In-flight images will have the status attribute set to SAVING and the conditional progress
element (0- 100% completion) will also be returned. Other possible values for the status
attribute include: UNKNOWN, PREPARING, ACTIVE QUEUED, FAILED. Images with an ACTIVE status are
available for install.
- Author:
- Adrian Cole
UNRECOGNIZED
public static final ImageStatus UNRECOGNIZED
UNKNOWN
public static final ImageStatus UNKNOWN
ACTIVE
public static final ImageStatus ACTIVE
SAVING
public static final ImageStatus SAVING
PREPARING
public static final ImageStatus PREPARING
QUEUED
public static final ImageStatus QUEUED
FAILED
public static final ImageStatus FAILED
values
public static ImageStatus[] 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 (ImageStatus c : ImageStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ImageStatus 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 name
NullPointerException
- if the argument is null
value
public String value()
fromValue
public static ImageStatus fromValue(String v)
Copyright © 2009-2011 jclouds. All Rights Reserved.