...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
public CustomNotificationSink implements NotificationPlugin { // Do your Plugin Initialization like Connecting to External System etc... public void _init() throws Exception { } // Eagle Notification Manager forwards AlertAPIEntity to this onAlert method public void onAlert() { // Where to forward this alerts logic should be here ? } public NotificationStatus getStatus(){ // return the status of notification } } |
Development Steps:
To make use of Eagle Notification Plugin , below are the different steps to be followed.
1) Copy eagle jars into your library
2) Add eagle jars as dependency in pom.xml
3) Implement Notification Plugin Interface
4) Write your custom logic