public enum AccountState extends java.lang.Enum<AccountState>
| Enum Constant and Description | 
|---|
ACTIVE
Account is active and can be used for authentication. 
 | 
BLOCKED
Account was blocked (usualy because of user ban). 
 | 
INITIAL
Account is created and waiting for activation. 
 | 
LOCKED
Account is locked (usually because of too many authentication retries). 
 | 
UNDEFINED
Account state is undefined. 
 | 
UNKNOWN
Unknown account state. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
private int | 
value
State value. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AccountState | 
getEnumItem(int value)
Returns account state enumeration item. 
 | 
int | 
value()
Returns account state. 
 | 
static AccountState | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static AccountState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
for (AccountState c : AccountState.values()) System.out.println(c);
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 nullvalue - Item value