public enum NotificationsType extends Enum<NotificationsType>
| Enum Constant and Description |
|---|
ERROR
Error notifications type.
|
INFO
Information notifications type.
|
SUCCESS
Success notifications type.
|
WARNING
Warning notifications type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHtmlClass()
Getter for htmlClass.
|
String |
getIcon()
Getter for icon.
|
int |
getPriority()
Getter for priority.
|
static NotificationsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationsType INFO
public static final NotificationsType SUCCESS
public static final NotificationsType WARNING
public static final NotificationsType ERROR
public static NotificationsType[] values()
for (NotificationsType c : NotificationsType.values()) System.out.println(c);
public static NotificationsType 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 nullpublic String getHtmlClass()
public String getIcon()
public int getPriority()
Copyright © 2021. All rights reserved.