# Interface: com.pnfsoftware.jeb.core.units.IUnitNotificationManager

A manager of [unit notifications](IUnitNotification).

## Method: addNotification
- parameter: `notification`, type: `com.pnfsoftware.jeb.core.units.IUnitNotification`

Description: Add a notification.
parameter: notification: notification to add

## Method: addNotifications
- parameter: `c`, type: `java.util.Collection<? extends com.pnfsoftware.jeb.core.units.IUnitNotification>`

Description: Add notifications.
parameter: c: notifications to add

## Method: getNotification
- parameter: `key`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.IUnitNotification`

Description: Retrieve a notification by key.
parameter: key: notification key
return: the notification, or null if none

## Method: getNotificationCount
- return type: `int`

Description: Retrieve the number of notifications.
return: notification count

## Method: getNotifications
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.IUnitNotification>`

Description: Retrieve the notifications.
return: notifications, possibly empty

## Method: removeNotification
- parameter: `key`, type: `java.lang.String`
- return type: `boolean`

Description: Remove a notification by key.
parameter: key: notification key
return: true if a notification was removed

