Class Notification
- java.lang.Object
-
- io.tech1.framework.domain.notifications.Notification
-
public class Notification extends Object
-
-
Constructor Summary
Constructors Constructor Description Notification(NotificationType notificationType, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)static Notificationerror(String message)StringgetMessage()NotificationTypegetNotificationType()inthashCode()static Notificationinfo(String message)static Notificationsuccess(String message)StringtoString()static Notificationwarning(String message)
-
-
-
Constructor Detail
-
Notification
public Notification(NotificationType notificationType, String message)
-
-
Method Detail
-
info
public static Notification info(String message)
-
success
public static Notification success(String message)
-
warning
public static Notification warning(String message)
-
error
public static Notification error(String message)
-
getNotificationType
public NotificationType getNotificationType()
-
getMessage
public String getMessage()
-
canEqual
protected boolean canEqual(Object other)
-
-