public enum NotificationType extends Enum<NotificationType>
Enum Constant and Description |
---|
error |
notification |
progress |
progressCompleted |
progressErrored |
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 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 © 2013-2015 JBoss by Red Hat. All Rights Reserved.