public static enum NotificationEvent.NotificationType extends Enum<NotificationEvent.NotificationType>
Enum Constant and Description |
---|
DEFAULT |
ERROR |
INFO |
SUCCESS |
WARNING |
Modifier and Type | Method and Description |
---|---|
static NotificationEvent.NotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationEvent.NotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationEvent.NotificationType DEFAULT
public static final NotificationEvent.NotificationType ERROR
public static final NotificationEvent.NotificationType SUCCESS
public static final NotificationEvent.NotificationType INFO
public static final NotificationEvent.NotificationType WARNING
public static NotificationEvent.NotificationType[] values()
for (NotificationEvent.NotificationType c : NotificationEvent.NotificationType.values()) System.out.println(c);
public static NotificationEvent.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 © 2012–2020 JBoss by Red Hat. All rights reserved.