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