Enum CaptchaType

java.lang.Object
java.lang.Enum<CaptchaType>
org.bardframework.commons.captcha.CaptchaType
All Implemented Interfaces:
Serializable, Comparable<CaptchaType>

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

    • ENGLISH_CHAR

      public static final CaptchaType ENGLISH_CHAR
    • ENGLISH_NUMBER_CHAR

      public static final CaptchaType ENGLISH_NUMBER_CHAR
    • ENGLISH_NUMBER

      public static final CaptchaType ENGLISH_NUMBER
    • PERSIAN_CHAR

      public static final CaptchaType PERSIAN_CHAR
    • PERSIAN_NUMBER_CHAR

      public static final CaptchaType PERSIAN_NUMBER_CHAR
    • PERSIAN_NUMBER_TEXT

      public static final CaptchaType PERSIAN_NUMBER_TEXT
    • ARABIC_CHAR

      public static final CaptchaType ARABIC_CHAR
    • ARABIC_NUMBER_CHAR

      public static final CaptchaType ARABIC_NUMBER_CHAR
  • Method Details

    • values

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

      public static CaptchaType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null