Interface NotificationChain

All Known Implementing Classes:
NotificationChainImpl, NotificationImpl

public interface NotificationChain
An accumulator of notifications. As notifications are produced, they are accumulated in a chain, and possibly even merged, before finally being dispatched to the notifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    add(Notification notification)
    Adds a notification to the chain.
    void
    Dispatches each notification to the appropriate notifier via Notifier.eNotify.
  • Method Details

    • add

      boolean add(Notification notification)
      Adds a notification to the chain.
      Returns:
      whether the notification was added.
    • dispatch

      void dispatch()
      Dispatches each notification to the appropriate notifier via Notifier.eNotify.