public static enum AccountCreator.EmailStatus extends java.lang.Enum<AccountCreator.EmailStatus>
Enum Constant and Description |
---|
InvalidCharacters
Contain invalid characters.
|
Malformed
Email malformed.
|
Ok
Email ok.
|
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
static AccountCreator.EmailStatus |
fromInt(int value) |
int |
toInt() |
static AccountCreator.EmailStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountCreator.EmailStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountCreator.EmailStatus Ok
public static final AccountCreator.EmailStatus Malformed
public static final AccountCreator.EmailStatus InvalidCharacters
public static AccountCreator.EmailStatus[] values()
for (AccountCreator.EmailStatus c : AccountCreator.EmailStatus.values()) System.out.println(c);
public static AccountCreator.EmailStatus 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 AccountCreator.EmailStatus fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()