Class NotificationServiceImpl
java.lang.Object
com.flowable.notification.engine.impl.NotificationServiceImpl
- All Implemented Interfaces:
NotificationService
public class NotificationServiceImpl extends java.lang.Object implements NotificationService
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<MessageDeliverer>messageDeliverers -
Constructor Summary
Constructors Constructor Description NotificationServiceImpl(java.util.List<MessageDeliverer> messageDeliverers) -
Method Summary
Modifier and Type Method Description <T> voidsendNotification(java.lang.String userId, Notification notification, NotificationMessageProvider<T> messageProvider)Send a notification based on the givenNotificationwith themessageas a content.
-
Field Details
-
Constructor Details
-
Method Details
-
sendNotification
public <T> void sendNotification(java.lang.String userId, Notification notification, NotificationMessageProvider<T> messageProvider)Description copied from interface:NotificationServiceSend a notification based on the givenNotificationwith themessageas a content.- Specified by:
sendNotificationin interfaceNotificationService- Parameters:
userId- the id of the user to which the notification needs to be sentnotification- the information for sending the notificationmessageProvider- the provider for the notification message
-