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