Package com.pnfsoftware.jeb.core.events
Class ClientNotification
java.lang.Object
com.pnfsoftware.jeb.core.events.ClientNotification
- Direct Known Subclasses:
AbstractQuestionNotification
,ExceptionNotification
,TelemetryNotification
Event notification data for clients. Those objects are used by the back-end (including plugins)
to notify clients of general purpose events.
Do not confuse with IUnitNotification
.
-
Constructor Summary
ConstructorsConstructorDescriptionClientNotification
(String message) Create a new information notification.ClientNotification
(String message, ClientNotificationLevel level) Create a new notification. -
Method Summary
Modifier and TypeMethodDescriptiongetLevel()
Get the notification level.Get the notification message.
-
Constructor Details
-
ClientNotification
Create a new information notification.- Parameters:
message
- the notification message
-
ClientNotification
Create a new notification.- Parameters:
message
- optional messagelevel
- mandatory level
-
-
Method Details
-
getMessage
Get the notification message.- Returns:
- the message
-
getLevel
Get the notification level.- Returns:
- the level
-