E - The matchee typeorg.refcodes.matcher.Matcher<E>MetaDataEventMatcher<E>public interface EventMatcher<E extends GenericEvent<?>>
extends org.refcodes.matcher.Matcher<E>
Matcher interface for the usage with
GenericActionEvent 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.| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isMatching(E aEvent) |
Tests whether the given
GenericActionEvent is matching the
Matcher's criteria. |
boolean isMatching(E aEvent)
GenericActionEvent is matching the
Matcher's criteria.isMatching in interface org.refcodes.matcher.Matcher<E extends GenericEvent<?>>aEvent - The GenericActionEvent used for testing its
matchability.GenericActionEvent matches the
Matcher's criteria, else false.Copyright © 2021. All rights reserved.