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