Package org.opentcs.access

# Class NotificationPublicationEvent

java.lang.Object
org.opentcs.access.NotificationPublicationEvent

All Implemented Interfaces:
  `java.io.Serializable`

    public class NotificationPublicationEvent
    extends java.lang.Object
    implements java.io.Serializable

Instances of this class represent events emitted by/for notifications being published.

See Also:
  Serialized Form

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `NotificationPublicationEvent​(UserNotification message)` | Creates a new instance.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `UserNotification` | `getNotification()` | Returns the message being published.
  `java.lang.String` | `toString()` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### NotificationPublicationEvent

    public NotificationPublicationEvent​(UserNotification message)
    Creates a new instance.
    Parameters:
      `message` - The message being published.

- ## Method Details

  - ### getNotification

    public UserNotification getNotification()
    Returns the message being published.
    Returns:
      The message being published.

  - ### toString

    public java.lang.String toString()
    Overrides:
      `toString` in class `java.lang.Object`