public enum CheckQualityEnum extends Enum<CheckQualityEnum>
Enum Constant and Description |
---|
CHECK_ACCEPT
Check the password and accept passwords that can't be checked (hashed passwords)
|
CHECK_REJECT
Check the password but reject passwords that can't be checked (hashed passwords)
|
NO_CHECK
Don't check the password
|
UNKNOW
An unknown value
|
Modifier and Type | Method and Description |
---|---|
static CheckQualityEnum |
getCheckQuality(int value)
Get back the CheckQualityEnum instance associated with a given value
|
int |
getValue() |
static CheckQualityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckQualityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckQualityEnum NO_CHECK
public static final CheckQualityEnum CHECK_ACCEPT
public static final CheckQualityEnum CHECK_REJECT
public static final CheckQualityEnum UNKNOW
public static CheckQualityEnum[] values()
for (CheckQualityEnum c : CheckQualityEnum.values()) System.out.println(c);
public static CheckQualityEnum 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 int getValue()
public static CheckQualityEnum getCheckQuality(int value)
value
- The value we are looking forCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.