public enum NotificationType extends Enum<NotificationType>
| Enum Constant and Description |
|---|
error |
notification |
progress |
progressCompleted |
progressErrored |
warning |
| Modifier and Type | Method and Description |
|---|---|
static NotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationType notification
public static final NotificationType warning
public static final NotificationType error
public static final NotificationType progress
public static final NotificationType progressCompleted
public static final NotificationType progressErrored
public static NotificationType[] values()
for (NotificationType c : NotificationType.values()) System.out.println(c);
public static NotificationType 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 © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.