static enum CaptchaHelper.CaptchaType extends Enum<CaptchaHelper.CaptchaType>
Enum Constant and Description |
---|
JCAPTCHA
Ametys Internal Captcha
|
RECAPTCHA
Google reCaptcha
|
Modifier and Type | Method and Description |
---|---|
static CaptchaHelper.CaptchaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptchaHelper.CaptchaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptchaHelper.CaptchaType JCAPTCHA
public static final CaptchaHelper.CaptchaType RECAPTCHA
public static CaptchaHelper.CaptchaType[] values()
for (CaptchaHelper.CaptchaType c : CaptchaHelper.CaptchaType.values()) System.out.println(c);
public static CaptchaHelper.CaptchaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null