public static enum Password.Requirement extends Enum<Password.Requirement>
| Enum Constant and Description |
|---|
LOWERCASE_LETTER
Lower case letter requirement.
|
NUMBER
Number requirement.
|
SYMBOL
Special symbol requirement.
|
UPPERCASE_LETTER
Upper case letter requirement.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRegexp() |
static Password.Requirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Password.Requirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Password.Requirement NUMBER
[0-9].public static final Password.Requirement SYMBOL
!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~public static final Password.Requirement LOWERCASE_LETTER
[a-z].public static final Password.Requirement UPPERCASE_LETTER
[A-Z].public static Password.Requirement[] values()
for (Password.Requirement c : Password.Requirement.values()) System.out.println(c);
public static Password.Requirement 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 nullpublic String getRegexp()
Copyright © 2023–2025 SEART. All rights reserved.