Interface NotificationsManager
- All Known Implementing Classes:
NotificationManagerImpl
public interface NotificationsManager
Manages running notification systems
- Author:
- marcboorshtein
-
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
-
Method Details
-
addNotificationSystem
void addNotificationSystem(String name, String className, Map<String, Attribute> config) throws ExceptionAdd a new notification system, if one already exists with the same name it will be replaced- Parameters:
name
- how the notification system will be referencedconfig
- notification system configuration- Throws:
Exception
-
getNotificationSystem
Retrieve a notification system by name, if none exists null is returned- Parameters:
name
-- Returns:
-
removeNotificationSystem
Removes the notification system named, if it doesn't exist then this method is a no-op- Parameters:
name
-
-