Enum Image.ImageStatus

    • Enum Constant Detail

      • UNRECOGNIZED

        public static final Image.ImageStatus UNRECOGNIZED
        Image status is not one of the documented options. http://docs.openstack.org/developer/glance/statuses.html
      • QUEUED

        public static final Image.ImageStatus QUEUED
        The image identifier has been reserved for an image in the Glance registry. No image data has been uploaded to Glance and the image size was not explicitly set to zero on creation.
      • SAVING

        public static final Image.ImageStatus SAVING
        Denotes that an image’s raw data is currently being uploaded to Glance. When an image is registered with a call to POST /images and there is an x-image-meta-location header present, that image will never be in the saving status (as the image data is already available in some other location).
      • ACTIVE

        public static final Image.ImageStatus ACTIVE
        Denotes an image that is fully available in Glance. This occurs when the image data is uploaded, or the image size is explicitly set to zero on creation.
      • DEACTIVATED

        public static final Image.ImageStatus DEACTIVATED
        Denotes that access to image data is not allowed to any non-admin user. Prohibiting downloads of an image also prohibits operations like image export and image cloning that may require image data.
      • KILLED

        public static final Image.ImageStatus KILLED
        Denotes that an error occurred during the uploading of an image’s data, and that the image is not readable.
      • DELETED

        public static final Image.ImageStatus DELETED
        Glance has retained the information about the image, but it is no longer available to use. An image in this state will be removed automatically at a later date.
      • PENDING_DELETE

        public static final Image.ImageStatus PENDING_DELETE
        This is similar to deleted, however, Glance has not yet removed the image data. An image in this state is not recoverable.
    • Method Detail

      • values

        public static Image.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 (Image.ImageStatus c : Image.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 Image.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()