public enum MailPlatformType extends Enum<MailPlatformType>
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,MailPlatformType> |
mailPlatformTypeMap |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getRemark() |
String |
getType() |
void |
setRemark(String remark) |
void |
setType(String type) |
static MailPlatformType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MailPlatformType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MailPlatformType MOCK
public static final MailPlatformType SPRING_BOOT_MAIL
public static final MailPlatformType MICROSOFT
public static final MailPlatformType ALIBABA
public static final MailPlatformType TENCENT
public static final MailPlatformType NET_EASE
public static final MailPlatformType OTHER
public static Map<String,MailPlatformType> mailPlatformTypeMap
public static MailPlatformType[] values()
for (MailPlatformType c : MailPlatformType.values()) System.out.println(c);
public static MailPlatformType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getType()
public void setType(String type)
public String getRemark()
public void setRemark(String remark)
Copyright © 2024. All rights reserved.