public enum EventLevelEnum extends Enum<EventLevelEnum>
| Enum Constant and Description |
|---|
CRITICAL
故障事件级别
|
MAJOR
预警事件级别
|
NOTICE
通知事件级别
|
WARNING
警告事件级别
|
| Modifier and Type | Method and Description |
|---|---|
static EventLevelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventLevelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventLevelEnum NOTICE
public static final EventLevelEnum MAJOR
public static final EventLevelEnum WARNING
public static final EventLevelEnum CRITICAL
public static EventLevelEnum[] values()
for (EventLevelEnum c : EventLevelEnum.values()) System.out.println(c);
public static EventLevelEnum 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 © 2024. All rights reserved.