public enum EPasswordPolicy extends Enum<EPasswordPolicy>
Enum Constant and Description |
---|
MIN_LENGTH |
RULE_ALPABETICAL |
RULE_DIGITS |
RULE_LOWERCASE |
RULE_SYMBOLS |
RULE_UPPPERCASE |
Modifier and Type | Method and Description |
---|---|
static EPasswordPolicy |
byPropertyKey(String key) |
<T> T |
convertValue(String value) |
String |
getDefaultValue() |
<T> T |
getDefaultValueByType() |
String |
getPropertyKey() |
Class<?> |
getValueDataType() |
static Stream<EPasswordPolicy> |
stream() |
static EPasswordPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPasswordPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPasswordPolicy MIN_LENGTH
public static final EPasswordPolicy RULE_ALPABETICAL
public static final EPasswordPolicy RULE_UPPPERCASE
public static final EPasswordPolicy RULE_LOWERCASE
public static final EPasswordPolicy RULE_DIGITS
public static final EPasswordPolicy RULE_SYMBOLS
public static EPasswordPolicy[] values()
for (EPasswordPolicy c : EPasswordPolicy.values()) System.out.println(c);
public static EPasswordPolicy 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 getPropertyKey()
public static EPasswordPolicy byPropertyKey(String key)
public <T> T getDefaultValueByType()
public String getDefaultValue()
public Class<?> getValueDataType()
public <T> T convertValue(String value)
public static Stream<EPasswordPolicy> stream()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.