Class NotificationManagerImpl
java.lang.Object
com.tremolosecurity.notifications.NotificationManagerImpl
- All Implemented Interfaces:
NotificationsManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd 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 returnedvoidRemoves 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:NotificationsManagerAdd a new notification system, if one already exists with the same name it will be replaced- Specified by:
addNotificationSystemin interfaceNotificationsManager- Parameters:
name- how the notification system will be referencedconfig- notification system configuration- Throws:
Exception
-
getNotificationSystem
Description copied from interface:NotificationsManagerRetrieve a notification system by name, if none exists null is returned- Specified by:
getNotificationSystemin interfaceNotificationsManager- Parameters:
name-- Returns:
-
removeNotificationSystem
Description copied from interface:NotificationsManagerRemoves the notification system named, if it doesn't exist then this method is a no-op- Specified by:
removeNotificationSystemin interfaceNotificationsManager- Parameters:
name-
-