public class NotificationEventHandler extends java.lang.Object implements NotificationEventHandlerPlugin
NotificationEventHandlerPlugin
interface.
Note that it is best practice to inherit from this class instead of implementing the interface directly. This helps to ensure upward compatibility of your code.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
NotificationEventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
escalationNotification(Task task,
Escalation escalation)
This method is called when an escalation of a task is fired.
|
public static final java.lang.String COPYRIGHT
public void escalationNotification(Task task, Escalation escalation)
Note: This method is only called when the escalation action was set to 'event'.
escalationNotification
in interface NotificationEventHandlerPlugin
task
- The task which is escalated.escalation
- The escalation data.