Interface ConditionalEventListener

All Known Implementing Classes:
DelegatingEventExternalizer, EventExternalizationSupport

public interface ConditionalEventListener
An event listener that exposes whether it supports a particular event instance.
Since:
1.1
Author:
Oliver Drotbohm
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the given event instance is supported by the listener.
  • Method Details

    • supports

      boolean supports(Object event)
      Returns whether the given event instance is supported by the listener.
      Parameters:
      event - must not be null.
      Returns:
      whether the given event instance is supported by the listener.