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()
-
Constructor Details
-
NotificationPublicationEvent
Creates a new instance.- Parameters:
message
- The message being published.
-
-
Method Details
-
getNotification
Returns the message being published.- Returns:
- The message being published.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-