Package com.pnfsoftware.jeb.core.units
Class UnitNotificationManager
java.lang.Object
com.pnfsoftware.jeb.core.units.UnitNotificationManager
- All Implemented Interfaces:
IUnitNotificationManager
Standard implementation of a notification manager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNotification
(IUnitNotification notification) void
addNotifications
(Collection<? extends IUnitNotification> c) getNotification
(String key) int
boolean
removeNotification
(String key)
-
Constructor Details
-
UnitNotificationManager
public UnitNotificationManager()
-
-
Method Details
-
getNotifications
- Specified by:
getNotifications
in interfaceIUnitNotificationManager
- Returns:
-
getNotificationCount
public int getNotificationCount()- Specified by:
getNotificationCount
in interfaceIUnitNotificationManager
- Returns:
-
addNotification
- Specified by:
addNotification
in interfaceIUnitNotificationManager
-
addNotifications
- Specified by:
addNotifications
in interfaceIUnitNotificationManager
-
removeNotification
- Specified by:
removeNotification
in interfaceIUnitNotificationManager
- Returns:
-
getNotification
- Specified by:
getNotification
in interfaceIUnitNotificationManager
- Returns:
-