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 Notificationnotificationprotected Tpayload -
Constructor Summary
Constructors Constructor Description BaseNotificationMessage(T payload, Notification notification) -
Method Summary
Modifier and Type Method Description NotificationgetNotification()The notification information use for deciding how a message should be displayed.TgetPayload()The payload for the notification message.java.lang.StringgetType()The type of the message
-
Field Details
-
Constructor Details
-
Method Details
-
getPayload
Description copied from interface:NotificationMessageThe payload for the notification message.- Specified by:
getPayloadin interfaceNotificationMessage<T>- Returns:
- the payload of the message
-
getNotification
Description copied from interface:NotificationMessageThe notification information use for deciding how a message should be displayed.- Specified by:
getNotificationin interfaceNotificationMessage<T>- Returns:
- the notification information
-
getType
public java.lang.String getType()Description copied from interface:NotificationMessageThe type of the message- Specified by:
getTypein interfaceNotificationMessage<T>- Returns:
- the type of the message
-