Class NotificationEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotificationEvent
    extends java.util.EventObject
    Event Object used by the notification to send events
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.UUID fId  
      private static long serialVersionUID  
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      NotificationEvent​(java.lang.Object source, java.util.UUID id)
      Create a new NotificationEvent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.UUID getId()
      Get the id of the notification
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • fId

        private final java.util.UUID fId
    • Constructor Detail

      • NotificationEvent

        public NotificationEvent​(java.lang.Object source,
                                 java.util.UUID id)
        Create a new NotificationEvent
        Parameters:
        source - source of the event. Usual the NotificationBuilder
        id - the id of the notification. This id is returned from NotificationBuilder.showNotification()
    • Method Detail

      • getId

        public java.util.UUID getId()
        Get the id of the notification
        Returns:
        the id of the notification