Package org.jbpm.services.task.deadlines
Interface NotificationListener
-
- All Known Implementing Classes:
EmailNotificationListener
public interface NotificationListener
Listener that is called when Task notification is about to be sent. Different listener implementations can exists and all will be independently invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onNotification(org.kie.internal.task.api.model.NotificationEvent event, org.kie.internal.task.api.UserInfo userInfo)
Invoked when notification is about to be sent.
-
-
-
Method Detail
-
onNotification
void onNotification(org.kie.internal.task.api.model.NotificationEvent event, org.kie.internal.task.api.UserInfo userInfo)
Invoked when notification is about to be sent.- Parameters:
event
- notification event that includes task, notification itself and task variablesuserInfo
- Implementation ofUserInfo
to be able to find user details such as email address
-
-