Class ClientNotification

java.lang.Object
com.pnfsoftware.jeb.core.events.ClientNotification
Direct Known Subclasses:
AbstractQuestionNotification, ExceptionNotification, TelemetryNotification

public class ClientNotification extends Object
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 Details

    • ClientNotification

      public ClientNotification(String message)
      Create a new information notification.
      Parameters:
      message - the notification message
    • ClientNotification

      public ClientNotification(String message, ClientNotificationLevel level)
      Create a new notification.
      Parameters:
      message - optional message
      level - mandatory level
  • Method Details

    • getMessage

      public String getMessage()
      Get the notification message.
      Returns:
      the message
    • getLevel

      public ClientNotificationLevel getLevel()
      Get the notification level.
      Returns:
      the level