public enum AccountStatus extends java.lang.Enum<AccountStatus>
Enum Constant and Description |
---|
Failure
The account has failed to register to the server.
|
None
The account is not registered.
|
Registered
The account is registered.
|
Registering
The account registration is in process.
|
Unregistered
The account has successfully unregistered from the server.
|
Unregistering
The account unregistration is in process.
|
Modifier and Type | Method and Description |
---|---|
static AccountStatus |
fromInt(int i) |
static AccountStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountStatus None
public static final AccountStatus Registering
public static final AccountStatus Registered
public static final AccountStatus Unregistered
public static final AccountStatus Failure
public static final AccountStatus Unregistering
public static AccountStatus[] values()
for (AccountStatus c : AccountStatus.values()) System.out.println(c);
public static AccountStatus 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 AccountStatus fromInt(int i)