public enum NotificationLevel extends Enum<NotificationLevel>
| Enum Constant and Description |
|---|
CRITICAL
Enum value Critical.
|
INFORMATION
Enum value Information.
|
NON_URGENT_SUGGESTION
Enum value NonUrgentSuggestion.
|
WARNING
Enum value Warning.
|
| Modifier and Type | Method and Description |
|---|---|
static NotificationLevel |
fromString(String value)
Parses a serialized value to a NotificationLevel instance.
|
String |
toString() |
static NotificationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationLevel CRITICAL
public static final NotificationLevel WARNING
public static final NotificationLevel INFORMATION
public static final NotificationLevel NON_URGENT_SUGGESTION
public static NotificationLevel[] values()
for (NotificationLevel c : NotificationLevel.values()) System.out.println(c);
public static NotificationLevel 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 static NotificationLevel fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<NotificationLevel>Copyright © 2019. All rights reserved.