Enum PassStrengthType
- java.lang.Object
-
- java.lang.Enum<PassStrengthType>
-
- net.andreinc.mockneat.types.enums.PassStrengthType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PassStrengthType>
public enum PassStrengthType extends java.lang.Enum<PassStrengthType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Range<java.lang.Integer>getLength()static PassStrengthTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PassStrengthType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEAK
public static final PassStrengthType WEAK
-
MEDIUM
public static final PassStrengthType MEDIUM
-
STRONG
public static final PassStrengthType STRONG
-
-
Method Detail
-
values
public static PassStrengthType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PassStrengthType c : PassStrengthType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PassStrengthType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getLength
public Range<java.lang.Integer> getLength()
-
-