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 and 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 variables
        `userInfo` - Implementation of `UserInfo` to be able to find user details such as email address

Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.