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