Class AttachmentListenerNotifier

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void notifyListeners​(java.util.function.Consumer<AttachmentListener> consumer)
      Notifies each registered AttachmentListener of the given event.

      The implementation is aware of exceptions thrown by the listeners and continues notification.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AttachmentListenerNotifier

        public AttachmentListenerNotifier()
    • Method Detail

      • notifyListeners

        public void notifyListeners​(java.util.function.Consumer<AttachmentListener> consumer)
        Notifies each registered AttachmentListener of the given event.

        The implementation is aware of exceptions thrown by the listeners and continues notification.
        Parameters:
        consumer - The code which should be executed on notification
        Since:
        2.0.0