com.ibm.task.spi
Class NotificationEventHandler
- java.lang.Object
com.ibm.task.spi.NotificationEventHandler
All implemented interfaces:
- 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.
Since:
6.0.2
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
NotificationEventHandler()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
escalationNotification(Task task,Escalation escalation)
This method is called when an escalation of a task is fired.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
NotificationEventHandler
- public NotificationEventHandler( )
Method Detail
escalationNotification
- public void escalationNotification( Task task,
- Escalation escalation)
Specified by:
escalationNotification
in interface NotificationEventHandlerPlugin
Parameters:
task
- The task which is escalated. escalation
- The escalation data.
Note: This method is only called when the escalation action was set to 'event'.