public static enum AccountOperateCaseTemplet.CodeType extends Enum<AccountOperateCaseTemplet.CodeType>
文件名:AccountOperateCaseTemplet.java
用途:定义验证码类型
编码时间:2023年4月18日 下午5:13:41
修改时间:2023年4月18日 下午5:13:41
Enum Constant and Description |
---|
EMAIL_CODE
邮件验证码
|
IMAGE_CODE
图形验证码
|
PHONE_CODE
手机验证码
|
Modifier and Type | Method and Description |
---|---|
String |
getCodeOperateName()
该方法用于验证码操作名称
|
String |
getCodeTypeName()
该方法用于返回验证码类型名称
|
static AccountOperateCaseTemplet.CodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountOperateCaseTemplet.CodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountOperateCaseTemplet.CodeType IMAGE_CODE
public static final AccountOperateCaseTemplet.CodeType PHONE_CODE
public static final AccountOperateCaseTemplet.CodeType EMAIL_CODE
public static AccountOperateCaseTemplet.CodeType[] values()
for (AccountOperateCaseTemplet.CodeType c : AccountOperateCaseTemplet.CodeType.values()) System.out.println(c);
public static AccountOperateCaseTemplet.CodeType 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 getCodeTypeName()
public String getCodeOperateName()
Copyright © 2024. All rights reserved.