Class CatchNoneEventMatcher<E extends MetaDataEvent<?,?>>

java.lang.Object
org.refcodes.observer.AbstractEventMatcher<E>
org.refcodes.observer.CatchNoneEventMatcher<E>
Type Parameters:
E - The generic type.
All Implemented Interfaces:
Matchable<E>, Matcher<E>, AliasAccessor, EventMatcher<E>, Diagnosable, Schemable<DiagnosticOptions>

public class CatchNoneEventMatcher<E extends MetaDataEvent<?,?>> extends AbstractEventMatcher<E>
Catches no events, no matching is done (CATCH NONE).
  • Field Details

  • Constructor Details

    • CatchNoneEventMatcher

      public CatchNoneEventMatcher()
      Constructs the "catch all" EventMatcher instance.
  • Method Details

    • isMatching

      public boolean isMatching(E aEvent)
      Tests whether the given ActionEvent is matching the Matcher's criteria.
      Parameters:
      aEvent - The ActionEvent used for testing its matchability.
      Returns:
      True in case the ActionEvent matches the Matcher's criteria, else false.