public enum NotificationPriority extends Enum<NotificationPriority>
Enum Constant and Description |
---|
NOTICE
Indicates that an event has occurred that the user should be aware of.
|
PROBLEM
Indicates that there are going to be negative consequences as a result of whatever caused the Notification
with this priority.
|
Modifier and Type | Method and Description |
---|---|
static NotificationPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationPriority PROBLEM
public static final NotificationPriority NOTICE
public static NotificationPriority[] values()
for (NotificationPriority c : NotificationPriority.values()) System.out.println(c);
public static NotificationPriority 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 null