public static enum RuleResultMetadata.CountCategory extends Enum<RuleResultMetadata.CountCategory>
Enum Constant and Description |
---|
Allowed
allowed characters.
|
Digit
digit characters.
|
Illegal
illegal characters.
|
Length
password length.
|
LowerCase
lowercase characters.
|
Pwned
Already leaked password.
|
Special
special characters.
|
UpperCase
uppercase characters.
|
Whitespace
whitespace characters.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
exists(String name)
Deprecated.
use the standard
valueOf(String) instead |
static RuleResultMetadata.CountCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleResultMetadata.CountCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleResultMetadata.CountCategory Length
public static final RuleResultMetadata.CountCategory LowerCase
public static final RuleResultMetadata.CountCategory UpperCase
public static final RuleResultMetadata.CountCategory Digit
public static final RuleResultMetadata.CountCategory Special
public static final RuleResultMetadata.CountCategory Whitespace
public static final RuleResultMetadata.CountCategory Allowed
public static final RuleResultMetadata.CountCategory Illegal
public static final RuleResultMetadata.CountCategory Pwned
public static RuleResultMetadata.CountCategory[] values()
for (RuleResultMetadata.CountCategory c : RuleResultMetadata.CountCategory.values()) System.out.println(c);
public static RuleResultMetadata.CountCategory 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@Deprecated public static boolean exists(String name)
valueOf(String)
insteadname
- to check.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.