public static enum MonitorModel.NotifyType extends Enum<MonitorModel.NotifyType> implements BaseEnum
BaseEnum.Cache
Enum Constant and Description |
---|
dingding
通知方式
|
mail |
webhook |
workWx |
Modifier and Type | Method and Description |
---|---|
static MonitorModel.NotifyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitorModel.NotifyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getCode, getDesc, getDescByCode, getEnum, getEnum, getMap, toJSONArray, toJSONObject
public static final MonitorModel.NotifyType dingding
public static final MonitorModel.NotifyType mail
public static final MonitorModel.NotifyType workWx
public static final MonitorModel.NotifyType webhook
public static MonitorModel.NotifyType[] values()
for (MonitorModel.NotifyType c : MonitorModel.NotifyType.values()) System.out.println(c);
public static MonitorModel.NotifyType 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 nullCopyright © 2017–2022. All rights reserved.