public enum ImageHeader extends Enum<ImageHeader>
Enum Constant and Description |
---|
CHECKSUM |
CONTAINER_FORMAT |
COPY_FROM |
CREATED_AT |
DELETED |
DELETED_AT |
DISK_FORMAT |
ID |
IS_PUBLIC |
LOCATION |
MIN_DISK |
MIN_RAM |
NAME |
OWNER |
PROPERTY |
PROTECTED |
SIZE |
SIZE_MAX |
SIZE_MIN |
STATUS |
STORE |
UPDATED_AT |
Modifier and Type | Field and Description |
---|---|
static String |
GLANCE_HEADER_PREFIX |
static String |
HEADER_PREFIX |
Modifier and Type | Method and Description |
---|---|
String |
asGlanceHeader() |
String |
asHeader() |
String |
asParam() |
static ImageHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageHeader ID
public static final ImageHeader NAME
public static final ImageHeader CHECKSUM
public static final ImageHeader MIN_DISK
public static final ImageHeader MIN_RAM
public static final ImageHeader IS_PUBLIC
public static final ImageHeader PROTECTED
public static final ImageHeader CREATED_AT
public static final ImageHeader UPDATED_AT
public static final ImageHeader DELETED_AT
public static final ImageHeader COPY_FROM
public static final ImageHeader OWNER
public static final ImageHeader LOCATION
public static final ImageHeader STATUS
public static final ImageHeader DISK_FORMAT
public static final ImageHeader CONTAINER_FORMAT
public static final ImageHeader SIZE
public static final ImageHeader SIZE_MIN
public static final ImageHeader SIZE_MAX
public static final ImageHeader STORE
public static final ImageHeader PROPERTY
public static final ImageHeader DELETED
public static final String HEADER_PREFIX
public static final String GLANCE_HEADER_PREFIX
public static ImageHeader[] values()
for (ImageHeader c : ImageHeader.values()) System.out.println(c);
public static ImageHeader 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 asParam()
public String asHeader()
public String asGlanceHeader()
Copyright © 2017. All rights reserved.