public static enum AccessControlManager.LoginResult.ErrorCode extends Enum<AccessControlManager.LoginResult.ErrorCode>
Enum Constant and Description |
---|
EMAIL_NOT_VERIFIED |
OK |
WRONG_CREDENTIALS |
Modifier and Type | Method and Description |
---|---|
static AccessControlManager.LoginResult.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessControlManager.LoginResult.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessControlManager.LoginResult.ErrorCode OK
public static final AccessControlManager.LoginResult.ErrorCode WRONG_CREDENTIALS
public static final AccessControlManager.LoginResult.ErrorCode EMAIL_NOT_VERIFIED
public static AccessControlManager.LoginResult.ErrorCode[] values()
for (AccessControlManager.LoginResult.ErrorCode c : AccessControlManager.LoginResult.ErrorCode.values()) System.out.println(c);
public static AccessControlManager.LoginResult.ErrorCode 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 nullCopyright © 2020. All rights reserved.