public class AlertNotificationManager extends java.lang.Object implements NotificationManager
Initialises alert components using the alerts-datasource-extension.
Initialise alert components based on enable_order_alerts configuration.
enable_order_alerts is the adapter.properties configuration that contains all statuses to send notifications on.NotificationManager.Context
Constructor and Description |
---|
AlertNotificationManager() |
Modifier and Type | Method and Description |
---|---|
void |
initialise(NotificationManager.Context context)
Initialise notification components with the given context
|
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 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 onFailNotification(FailNotificationDetails details)
NotificationManager
onFailNotification
in interface NotificationManager
details
- FailNotificationDetailspublic void onDeleteNotification(DeleteNotificationDetails details)
NotificationManager
onDeleteNotification
in interface NotificationManager
details
- DeleteNotificationDetailspublic void onFillNotification(FillNotificationDetails details)
NotificationManager
onFillNotification
in interface NotificationManager
details
- FillNotificationDetailsCopyright © 2016 Caplin Systems.