public class TransformerNotificationManager extends java.lang.Object implements NotificationManager, com.caplin.datasource.notification.NotificationApplicationListener
NotificationManager.Context
Constructor and Description |
---|
TransformerNotificationManager(NotificationActionMapper notificationActionMapper)
Create a TransformerNotificationManager instance
|
Modifier and Type | Method and Description |
---|---|
void |
initialise(NotificationManager.Context context)
Initialise notification components with the given context
|
void |
notificationChannelClosed(com.caplin.datasource.notification.NotificationChannel channel) |
void |
notificationChannelOpened(com.caplin.datasource.notification.NotificationChannel notificationChannel) |
void |
onActionNotification(ActionNotificationDetails details)
Send a successful notification
|
void |
onDeleteNotification(DeleteNotificationDetails details)
Send an notification on delete action
|
void |
onFailNotification(FailNotificationDetails details)
Send an notification on failed action
|
void |
onFillNotification(FillNotificationDetails details)
Send an notification on fill action
|
public TransformerNotificationManager(NotificationActionMapper notificationActionMapper)
notificationActionMapper
- NotificationActionMapperpublic void initialise(NotificationManager.Context context) throws java.lang.Exception
NotificationManager
initialise
in interface NotificationManager
context
- Contextjava.lang.Exception
public void onActionNotification(ActionNotificationDetails details)
NotificationManager
onActionNotification
in interface NotificationManager
details
- - ActionNotificationDetailspublic void onDeleteNotification(DeleteNotificationDetails details)
NotificationManager
onDeleteNotification
in interface NotificationManager
details
- DeleteNotificationDetailspublic void onFailNotification(FailNotificationDetails details)
NotificationManager
onFailNotification
in interface NotificationManager
details
- FailNotificationDetailspublic void onFillNotification(FillNotificationDetails details)
NotificationManager
onFillNotification
in interface NotificationManager
details
- FillNotificationDetailspublic void notificationChannelOpened(com.caplin.datasource.notification.NotificationChannel notificationChannel)
notificationChannelOpened
in interface com.caplin.datasource.notification.NotificationApplicationListener
public void notificationChannelClosed(com.caplin.datasource.notification.NotificationChannel channel)
notificationChannelClosed
in interface com.caplin.datasource.notification.NotificationApplicationListener
Copyright © 2016 Caplin Systems.