public enum BlockdevDiscardOptions extends Enum<BlockdevDiscardOptions>
QApiEnumDescriptor{name=BlockdevDiscardOptions, data=[ignore, unmap], fields=null}
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static BlockdevDiscardOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockdevDiscardOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockdevDiscardOptions ignore
public static final BlockdevDiscardOptions unmap
public static final BlockdevDiscardOptions __UNKNOWN
public static BlockdevDiscardOptions[] values()
for (BlockdevDiscardOptions c : BlockdevDiscardOptions.values()) System.out.println(c);
public static BlockdevDiscardOptions 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 getJsonValue()