@Translatable public enum EPasswordConstraintText extends Enum<EPasswordConstraintText> implements com.helger.commons.name.IHasDisplayText, com.helger.commons.name.IHasDisplayTextWithArgs
| Enum Constant and Description |
|---|
DESC_MAX_LENGTH |
DESC_MIN_LENGTH |
DESC_MUST_CONTAIN_DIGITS |
DESC_MUST_CONTAIN_LETTERS |
DESC_MUST_CONTAIN_LETTERS_LOWERCASE |
DESC_MUST_CONTAIN_LETTERS_UPPERCASE |
DESC_MUST_CONTAIN_SPECIALS |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayText(Locale aContentLocale) |
String |
getDisplayTextWithArgs(Locale aContentLocale,
Object... aArgs) |
static EPasswordConstraintText |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPasswordConstraintText[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPasswordConstraintText DESC_MIN_LENGTH
public static final EPasswordConstraintText DESC_MAX_LENGTH
public static final EPasswordConstraintText DESC_MUST_CONTAIN_DIGITS
public static final EPasswordConstraintText DESC_MUST_CONTAIN_LETTERS
public static final EPasswordConstraintText DESC_MUST_CONTAIN_LETTERS_LOWERCASE
public static final EPasswordConstraintText DESC_MUST_CONTAIN_LETTERS_UPPERCASE
public static final EPasswordConstraintText DESC_MUST_CONTAIN_SPECIALS
public static EPasswordConstraintText[] values()
for (EPasswordConstraintText c : EPasswordConstraintText.values()) System.out.println(c);
public static EPasswordConstraintText 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 null@Nullable public String getDisplayText(@Nonnull Locale aContentLocale)
getDisplayText in interface com.helger.commons.name.IHasDisplayTextCopyright © 2014–2015 Philip Helger. All rights reserved.