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

public class NotFilter extends Object implements EventFilter
Matches only when none of a set of filters match -- !(filter A || filter B || filter C).
  • Constructor Details

  • 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