Interface MetaDataEventMatcher<E extends GenericMetaDataEvent<?,?>>

Type Parameters:
E - The matchee type
All Superinterfaces:
EventMatcher<E>, org.refcodes.matcher.Matchable<E>, org.refcodes.matcher.Matcher<E>, org.refcodes.mixin.Schemable<org.refcodes.matcher.MatcherSchema>

public interface MetaDataEventMatcher<E extends GenericMetaDataEvent<?,?>> extends EventMatcher<E>
This interface typifies the Matcher interface for the usage with GenericMetaDataEvent instances. An EventMatcher most commonly uses the EventMetaData (as defined with the GenericMetaDataEvent) in order to determine whether an GenericActionEvent matches EventMetaData properties or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isMatching(E aEvent)
    Tests whether the given event is matching the mathcer's criteria.

    Methods inherited from interface org.refcodes.mixin.Schemable

    toSchema
  • Method Details

    • isMatching

      boolean isMatching(E aEvent)
      Tests whether the given event is matching the mathcer's criteria.
      Specified by:
      isMatching in interface EventMatcher<E extends GenericMetaDataEvent<?,?>>
      Specified by:
      isMatching in interface org.refcodes.matcher.Matchable<E extends GenericMetaDataEvent<?,?>>
      Parameters:
      aEvent - The event used for testing its matchability.
      Returns:
      True in case the event matches the matcher's criteria, else false.