E - The matchee typepublic 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 and 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 © 2018. All rights reserved.