public enum CredentialFailure extends Enum<CredentialFailure>
| Enum Constant and Description |
|---|
FAILURE_INVALID |
FAILURE_LOCKED |
FAILURE_NOT_APPROVED |
FAILURE_NOT_VERIFIED |
FAILURE_OTHERS |
| Modifier and Type | Method and Description |
|---|---|
static CredentialFailure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CredentialFailure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CredentialFailure FAILURE_INVALID
public static final CredentialFailure FAILURE_LOCKED
public static final CredentialFailure FAILURE_NOT_VERIFIED
public static final CredentialFailure FAILURE_NOT_APPROVED
public static final CredentialFailure FAILURE_OTHERS
public static CredentialFailure[] values()
for (CredentialFailure c : CredentialFailure.values()) System.out.println(c);
public static CredentialFailure 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 © 2018. All rights reserved.