public enum TokenStatus extends java.lang.Enum<TokenStatus>
| Enum Constant and Description |
|---|
ACTIVE |
DAMAGED |
PERM_LOST |
TEMP_LOST |
TEMP_LOST_PERM_LOST |
TERMINATED |
UNINITIALIZED |
| Modifier and Type | Method and Description |
|---|---|
static TokenStatus |
fromInt(java.lang.Integer value) |
int |
toInt() |
static TokenStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenStatus UNINITIALIZED
public static final TokenStatus DAMAGED
public static final TokenStatus PERM_LOST
public static final TokenStatus TEMP_LOST
public static final TokenStatus ACTIVE
public static final TokenStatus TEMP_LOST_PERM_LOST
public static final TokenStatus TERMINATED
public static TokenStatus[] values()
for (TokenStatus c : TokenStatus.values()) System.out.println(c);
public static TokenStatus 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 TokenStatus fromInt(java.lang.Integer value)
public int toInt()