public enum StatusCode extends Enum<StatusCode>
| Enum Constant and Description |
|---|
AUTHORIZATION_ERROR |
ERROR_RETRIEVE_DATA |
FAILED_DECRYPT_DATA |
FOUND |
GENERIC_ERROR |
NOT_FOUND |
NOT_OK |
OK |
PARTIAL_FAILURE |
PUSH_DATA_ERROR |
SC_CONFLICT |
SEND_EVENT_ERROR |
WRONG_NEXT_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Map<StatusCode,String> |
getMap() |
int |
getValue() |
static void |
init() |
static StatusCode |
lookup(int val) |
static StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusCode OK
public static final StatusCode FOUND
public static final StatusCode NOT_OK
public static final StatusCode AUTHORIZATION_ERROR
public static final StatusCode WRONG_NEXT_NUMBER
public static final StatusCode NOT_FOUND
public static final StatusCode SC_CONFLICT
public static final StatusCode FAILED_DECRYPT_DATA
public static final StatusCode ERROR_RETRIEVE_DATA
public static final StatusCode PARTIAL_FAILURE
public static final StatusCode GENERIC_ERROR
public static final StatusCode PUSH_DATA_ERROR
public static final StatusCode SEND_EVENT_ERROR
public static StatusCode[] values()
for (StatusCode c : StatusCode.values()) System.out.println(c);
public static StatusCode 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 getValue()
public static Map<StatusCode,String> getMap()
public static void init()
public static StatusCode lookup(int val)
Copyright © 2025. All rights reserved.