public static enum Notification.Severity extends Enum<Notification.Severity>
Modifier and Type | Method and Description |
---|---|
static Notification.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notification.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.Severity NORMAL
public static final Notification.Severity URGENT
public static Notification.Severity[] values()
for (Notification.Severity c : Notification.Severity.values()) System.out.println(c);
public static Notification.Severity 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 © 2012-2015 Graylog, Inc.. All Rights Reserved.