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

public class OrFilter extends Object implements EventFilter
Matches any one of a set of filers -- filer A || filer B || filer 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