Interface NotificationManager
-
- All Known Implementing Classes:
TransformerNotificationManager
public interface NotificationManager
Initialise components which enables the system to subscribe to and send notifications.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NotificationManager.Context
Context to initialise the NotificationManager
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialise(NotificationManager.Context context)
Initialise notification components with the given contextvoid
onActionNotification(ActionNotificationDetails details)
Send a successful notificationvoid
onDeleteNotification(DeleteNotificationDetails details)
Send an notification on delete actionvoid
onFailNotification(FailNotificationDetails details)
Send an notification on failed actionvoid
onFillNotification(FillNotificationDetails details)
Send an notification on fill action
-
-
-
Method Detail
-
initialise
void initialise(NotificationManager.Context context) throws java.lang.Exception
Initialise notification components with the given context- Parameters:
context
- Context- Throws:
java.lang.Exception
-
onActionNotification
void onActionNotification(ActionNotificationDetails details)
Send a successful notification- Parameters:
details
- - ActionNotificationDetails
-
onFailNotification
void onFailNotification(FailNotificationDetails details)
Send an notification on failed action- Parameters:
details
- FailNotificationDetails
-
onDeleteNotification
void onDeleteNotification(DeleteNotificationDetails details)
Send an notification on delete action- Parameters:
details
- DeleteNotificationDetails
-
onFillNotification
void onFillNotification(FillNotificationDetails details)
Send an notification on fill action- Parameters:
details
- FillNotificationDetails
-
-