public static enum LoginPage.Failure extends Enum<LoginPage.Failure>
Enum Constant and Description |
---|
credentials
bad credentials
|
disabled
the account is disabled
|
principal
username not found
|
unknown
unknown
|
Modifier and Type | Method and Description |
---|---|
static LoginPage.Failure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginPage.Failure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginPage.Failure principal
public static final LoginPage.Failure credentials
public static final LoginPage.Failure disabled
public static final LoginPage.Failure unknown
public static LoginPage.Failure[] values()
for (LoginPage.Failure c : LoginPage.Failure.values()) System.out.println(c);
public static LoginPage.Failure valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a