public enum AlarmReasonEnums extends Enum<AlarmReasonEnums>
告警原因
Enum Constant and Description |
---|
ABNORMAL_2_NORMAL
异常变正常
|
DISCOVERY
发现(应用程序、服务器、...)
|
IGNORE
忽略
|
NORMAL_2_ABNORMAL
正常变异常
|
Modifier and Type | Method and Description |
---|---|
static AlarmReasonEnums |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmReasonEnums[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmReasonEnums NORMAL_2_ABNORMAL
public static final AlarmReasonEnums ABNORMAL_2_NORMAL
public static final AlarmReasonEnums DISCOVERY
public static final AlarmReasonEnums IGNORE
public static AlarmReasonEnums[] values()
for (AlarmReasonEnums c : AlarmReasonEnums.values()) System.out.println(c);
public static AlarmReasonEnums 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 © 2021. All rights reserved.