public static enum Image.ImageStatus extends Enum<Image.ImageStatus>
Enum Constant and Description |
---|
ACTIVE
Denotes an image that is fully available in Glance.
|
DEACTIVATED
Denotes that access to image data is not allowed to any non-admin user.
|
DELETED
Glance has retained the information about the image, but it is no longer
available to use.
|
KILLED
Denotes that an error occurred during the uploading of an image’s data,
and that the image is not readable.
|
PENDING_DELETE
This is similar to deleted, however, Glance has not yet removed
the image data.
|
QUEUED
The image identifier has been reserved for an image in the Glance registry.
|
SAVING
Denotes that an image’s raw data is currently being uploaded to Glance.
|
UNRECOGNIZED
Image status is not one of the documented options.
|
Modifier and Type | Method and Description |
---|---|
String |
value() |
static Image.ImageStatus |
value(String v) |
static Image.ImageStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Image.ImageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Image.ImageStatus UNRECOGNIZED
public static final Image.ImageStatus QUEUED
public static final Image.ImageStatus SAVING
public static final Image.ImageStatus ACTIVE
public static final Image.ImageStatus DEACTIVATED
public static final Image.ImageStatus KILLED
public static final Image.ImageStatus DELETED
public static final Image.ImageStatus PENDING_DELETE
public static Image.ImageStatus[] values()
for (Image.ImageStatus c : Image.ImageStatus.values()) System.out.println(c);
public static Image.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 static Image.ImageStatus value(String v)
public String value()
Copyright © 2017. All rights reserved.