public static enum Notification.State extends Enum<Notification.State>
| Enum Constant and Description |
|---|
ACKNOWLEDGED
The notification has been acknowledged by the user.
|
NEW
The notification is newly created and has not yet been acknowledged by the user.
|
| Modifier and Type | Method and Description |
|---|---|
static Notification.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notification.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.State NEW
public static final Notification.State ACKNOWLEDGED
public static Notification.State[] values()
for (Notification.State c : Notification.State.values()) System.out.println(c);
public static Notification.State 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–2019 JBoss by Red Hat. All rights reserved.