java.lang.Object
com.northconcepts.datapipeline.eventbus.filter.NullFilter
All Implemented Interfaces:
EventFilter

public class NullFilter extends Object implements EventFilter
Matches every event; used when a listener is added without a filter.
  • Constructor Details

    • NullFilter

      public NullFilter()
  • Method Details

    • allow

      public boolean allow(Event<?> event, Object listener)
      Description copied from interface: EventFilter
      Returns true to deliver the event to the given listener; called on the bus's delivery thread.
      Specified by:
      allow in interface EventFilter