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> void
sendNotification(java.lang.String userId, Notification notification, NotificationMessageProvider<T> messageProvider)
Send a notification based on the givenNotification
with themessage
as 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:NotificationService
Send a notification based on the givenNotification
with themessage
as a content.- Specified by:
sendNotification
in 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
-