Class BaseNotificationMessage<T>
java.lang.Object
com.flowable.platform.notification.api.BaseNotificationMessage<T>
- All Implemented Interfaces:
NotificationMessage<T>
public class BaseNotificationMessage<T> extends java.lang.Object implements NotificationMessage<T>
-
Field Summary
Fields Modifier and Type Field Description protected Notification
notification
protected T
payload
-
Constructor Summary
Constructors Constructor Description BaseNotificationMessage(T payload, Notification notification)
-
Method Summary
Modifier and Type Method Description Notification
getNotification()
The notification information use for deciding how a message should be displayed.T
getPayload()
The payload for the notification message.java.lang.String
getType()
The type of the message
-
Field Details
-
Constructor Details
-
Method Details
-
getPayload
Description copied from interface:NotificationMessage
The payload for the notification message.- Specified by:
getPayload
in interfaceNotificationMessage<T>
- Returns:
- the payload of the message
-
getNotification
Description copied from interface:NotificationMessage
The notification information use for deciding how a message should be displayed.- Specified by:
getNotification
in interfaceNotificationMessage<T>
- Returns:
- the notification information
-
getType
public java.lang.String getType()Description copied from interface:NotificationMessage
The type of the message- Specified by:
getType
in interfaceNotificationMessage<T>
- Returns:
- the type of the message
-