Enum Class PasswordStrength.Format

java.lang.Object
java.lang.Enum<PasswordStrength.Format>
cn.dinodev.spring.commons.validation.constraints.PasswordStrength.Format
All Implemented Interfaces:
Serializable, Comparable<PasswordStrength.Format>, Constable
Enclosing class:
PasswordStrength

public static enum PasswordStrength.Format extends Enum<PasswordStrength.Format>
密码格式
  • Enum Constant Details

  • Method Details

    • values

      public static PasswordStrength.Format[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PasswordStrength.Format valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null