public enum AdminResponseCode extends Enum<AdminResponseCode>
| Enum Constant and Description |
|---|
ERROR
An error occurred during admin operation.
|
NULL_VAL
To be used to represent not present or null.
|
OK
Command was submitted or executed successfully.
|
UNAUTHORISED_ACCESS
Admin request was not authorised.
|
| Modifier and Type | Method and Description |
|---|---|
static AdminResponseCode |
get(int value)
Lookup the enum value representing the value.
|
int |
value()
The raw encoded value in the Java type representation.
|
static AdminResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdminResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdminResponseCode OK
public static final AdminResponseCode ERROR
public static final AdminResponseCode UNAUTHORISED_ACCESS
public static final AdminResponseCode NULL_VAL
public static AdminResponseCode[] values()
for (AdminResponseCode c : AdminResponseCode.values()) System.out.println(c);
public static AdminResponseCode 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 int value()
public static AdminResponseCode get(int value)
value - encoded to be looked up.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.