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 TypeMethodDescriptionvoidaddNotification(IUnitNotification notification) voidaddNotifications(Collection<? extends IUnitNotification> c) getNotification(String key) intbooleanremoveNotification(String key)
-
Constructor Details
-
UnitNotificationManager
public UnitNotificationManager()
-
-
Method Details
-
getNotifications
- Specified by:
getNotificationsin interfaceIUnitNotificationManager- Returns:
-
getNotificationCount
public int getNotificationCount()- Specified by:
getNotificationCountin interfaceIUnitNotificationManager- Returns:
-
addNotification
- Specified by:
addNotificationin interfaceIUnitNotificationManager
-
addNotifications
- Specified by:
addNotificationsin interfaceIUnitNotificationManager
-
removeNotification
- Specified by:
removeNotificationin interfaceIUnitNotificationManager- Returns:
-
getNotification
- Specified by:
getNotificationin interfaceIUnitNotificationManager- Returns:
-