public enum NotificationCategory extends java.lang.Enum<NotificationCategory>
Modifier and Type | Method and Description |
---|---|
static NotificationCategory |
convert(int type) |
static NotificationType |
convert(NotificationCategory notificationCategory) |
static NotificationCategory |
convert(NotificationType notificationType) |
int |
getMessageCategory() |
NotificationType |
getNotificationType() |
static NotificationCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationCategory ERROR
public static final NotificationCategory INFO
public static final NotificationCategory SIMPLE
public static final NotificationCategory WARNING
public static NotificationCategory[] values()
for (NotificationCategory c : NotificationCategory.values()) System.out.println(c);
public static NotificationCategory 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 getMessageCategory()
public NotificationType getNotificationType()
public static NotificationType convert(NotificationCategory notificationCategory)
public static NotificationCategory convert(NotificationType notificationType)
public static NotificationCategory convert(int type)