com.pnfsoftware.jeb.core.units.IUnitNotification |
Known Indirect Subclasses |
Description of a unit notification. Unit notifications are generated by units to keep track of oddities, warnings, errors, malformations, corruptions, or otherwise interesting areas of a unit. Initially, they are generated during the processing of the input. However, any client code (in the general sense) can add or remove notifications to a unit.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getAddress()
Retrieve the optional address of this notification, if relevant.
| ||||||||||
abstract String |
getDescription()
Get a custom description of the notification.
| ||||||||||
abstract String |
getKey()
Retrieve the notification key (or name).
| ||||||||||
abstract long |
getTimestampMs()
Retrieve the creation timestamp of this notification.
| ||||||||||
abstract NotificationType |
getType()
Get the notification type.
|
Retrieve the optional address of this notification, if relevant. If the unit does support
addressing (ie, the unit implements IAddressableUnit
), that field may be used by
clients for easy navigation to the location of interest.
Get a custom description of the notification. This comes as a complement of the type, if necessary.
Retrieve the notification key (or name). For a given unit, only one notification with a given key may exist; adding a notification will erase a previously existing one.
Retrieve the creation timestamp of this notification.