public enum CaptchaTypeEnum extends Enum<CaptchaTypeEnum>
| Enum Constant and Description |
|---|
BLOCKPUZZLE
滑块拼图
|
CLICKWORD
文字点选.
|
DEFAULT
默认.
|
ROTATEPUZZLE
旋转拼图.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCodeDesc() |
static String |
getCodeDescByCodeBalue(String codeValue) |
String |
getCodeValue() |
static String |
getString() |
static CaptchaTypeEnum |
parseFromCodeValue(String codeValue) |
static boolean |
validateCodeValue(String codeValue) |
static CaptchaTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptchaTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptchaTypeEnum ROTATEPUZZLE
public static final CaptchaTypeEnum BLOCKPUZZLE
public static final CaptchaTypeEnum CLICKWORD
public static final CaptchaTypeEnum DEFAULT
public static CaptchaTypeEnum[] values()
for (CaptchaTypeEnum c : CaptchaTypeEnum.values()) System.out.println(c);
public static CaptchaTypeEnum 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 nullpublic String getCodeValue()
public String getCodeDesc()
public static CaptchaTypeEnum parseFromCodeValue(String codeValue)
public static boolean validateCodeValue(String codeValue)
public static String getString()
Copyright © 2025. All rights reserved.