Enum Class UsernameConfigurableStrategy.HandleEMail

java.lang.Object
java.lang.Enum<UsernameConfigurableStrategy.HandleEMail>
de.powerstat.validation.values.strategies.UsernameConfigurableStrategy.HandleEMail
All Implemented Interfaces:
Serializable, Comparable<UsernameConfigurableStrategy.HandleEMail>, Constable
Enclosing class:
UsernameConfigurableStrategy

public static enum UsernameConfigurableStrategy.HandleEMail extends Enum<UsernameConfigurableStrategy.HandleEMail>
Enum for handling of email addresses.
  • Enum Constant Details

  • Field Details

    • action

      private final int action
      Action number.
  • Constructor Details

    • HandleEMail

      private HandleEMail(int action)
      Ordinal constructor.
      Parameters:
      action - Action number
  • Method Details

    • values

      public static UsernameConfigurableStrategy.HandleEMail[] 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 UsernameConfigurableStrategy.HandleEMail 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
    • getAction

      public int getAction()
      Get action number.
      Returns:
      Action number