public static enum Notification.Priority extends java.lang.Enum<Notification.Priority>
| Enum Constant and Description |
|---|
IMMEDIATE |
POWERCONSIDERATION |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static Notification.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Notification.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.Priority IMMEDIATE
public static final Notification.Priority POWERCONSIDERATION
public static Notification.Priority[] values()
for (Notification.Priority c : Notification.Priority.values()) System.out.println(c);
public static Notification.Priority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
Copyright © 2020. All Rights Reserved.