Class Notification

    • Constructor Detail

      • Notification

        public Notification()
        Constructs an empty user notification.
    • Method Detail

      • setPriority

        public void setPriority​(int priority)
        Sets the priority of this notification.
        Parameters:
        priority - the priority level.
      • setSource

        public void setSource​(String source)
        Sets the source of this notification. The source is the component from which this notification is sent.
        Parameters:
        source - the name of the source of this notification.
      • setAddressId

        public void setAddressId​(String addressId)
        Sets the identifier of a notification address to which this notification has to be sent.
        Parameters:
        addressId - the unique identifier of a notification address.