Class NotificationManagerImpl
java.lang.Object
com.tremolosecurity.notifications.NotificationManagerImpl
- All Implemented Interfaces:
NotificationsManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a new notification system, if one already exists with the same name it will be replacedgetNotificationSystem
(String name) Retrieve a notification system by name, if none exists null is returnedvoid
Removes the notification system named, if it doesn't exist then this method is a no-op
-
Constructor Details
-
NotificationManagerImpl
public NotificationManagerImpl()
-
-
Method Details
-
addNotificationSystem
public void addNotificationSystem(String name, String className, Map<String, Attribute> config) throws ExceptionDescription copied from interface:NotificationsManager
Add a new notification system, if one already exists with the same name it will be replaced- Specified by:
addNotificationSystem
in interfaceNotificationsManager
- Parameters:
name
- how the notification system will be referencedconfig
- notification system configuration- Throws:
Exception
-
getNotificationSystem
Description copied from interface:NotificationsManager
Retrieve a notification system by name, if none exists null is returned- Specified by:
getNotificationSystem
in interfaceNotificationsManager
- Parameters:
name
-- Returns:
-
removeNotificationSystem
Description copied from interface:NotificationsManager
Removes the notification system named, if it doesn't exist then this method is a no-op- Specified by:
removeNotificationSystem
in interfaceNotificationsManager
- Parameters:
name
-
-