public static enum InvalidPasswordException.FailureCode extends Enum<InvalidPasswordException.FailureCode>
| Enum Constant and Description |
|---|
DIFFERENT_CHARACTERS |
DIGITS |
LETTER |
MINIMAL_PASSWORD_LENGTH |
MIXED_CASE |
PREVIOUS_PASSWORDS |
PUNCTUATION |
| Modifier and Type | Method and Description |
|---|---|
static InvalidPasswordException.FailureCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvalidPasswordException.FailureCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidPasswordException.FailureCode MINIMAL_PASSWORD_LENGTH
public static final InvalidPasswordException.FailureCode LETTER
public static final InvalidPasswordException.FailureCode DIGITS
public static final InvalidPasswordException.FailureCode MIXED_CASE
public static final InvalidPasswordException.FailureCode PUNCTUATION
public static final InvalidPasswordException.FailureCode PREVIOUS_PASSWORDS
public static final InvalidPasswordException.FailureCode DIFFERENT_CHARACTERS
public static InvalidPasswordException.FailureCode[] values()
for (InvalidPasswordException.FailureCode c : InvalidPasswordException.FailureCode.values()) System.out.println(c);
public static InvalidPasswordException.FailureCode 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 © 2016 Eclipse Stardust. All Rights Reserved.