public static enum TokenHistoryQueryOptions.LABEL_STATUS extends java.lang.Enum<TokenHistoryQueryOptions.LABEL_STATUS>
Enum Constant and Description |
---|
CANCELLED |
COMPLETED |
FAILED |
PROCESSING |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAllStatus()
Gets all status options
|
java.lang.String |
getStatus() |
static boolean |
isExist(java.lang.String status)
Check if there is an enum mapped to the given status string.
|
static TokenHistoryQueryOptions.LABEL_STATUS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenHistoryQueryOptions.LABEL_STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenHistoryQueryOptions.LABEL_STATUS COMPLETED
public static final TokenHistoryQueryOptions.LABEL_STATUS PROCESSING
public static final TokenHistoryQueryOptions.LABEL_STATUS FAILED
public static final TokenHistoryQueryOptions.LABEL_STATUS CANCELLED
public static TokenHistoryQueryOptions.LABEL_STATUS[] values()
for (TokenHistoryQueryOptions.LABEL_STATUS c : TokenHistoryQueryOptions.LABEL_STATUS.values()) System.out.println(c);
public static TokenHistoryQueryOptions.LABEL_STATUS valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean isExist(java.lang.String status)
status
- The status string to find enum defined in LABEL_STATUSpublic static java.lang.String getAllStatus()
public java.lang.String getStatus()