Enum Class Regex

java.lang.Object
java.lang.Enum<Regex>
net.bluemind.core.api.Regex
All Implemented Interfaces:
Serializable, Comparable<Regex>, Constable

public enum Regex extends Enum<Regex>
  • Enum Constant Details

    • LOGIN

      public static final Regex LOGIN
      Blue Mind login
    • MAILSHARE_NAME

      public static final Regex MAILSHARE_NAME
      Blue Mind mailshare name
    • EMAIL

      public static final Regex EMAIL
      local invalid input: '&' domain part
    • EMAIL_LEFT

      public static final Regex EMAIL_LEFT
      local part
    • DOMAIN

      public static final Regex DOMAIN
      Domain part
    • UUID

      public static final Regex UUID
      UUID regex
  • Method Details

    • values

      public static Regex[] 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 Regex 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
    • getRegexPattern

      public Pattern getRegexPattern()
    • validate

      public boolean validate(String value)