Interface MetaDataEventMatcher<E extends MetaDataEvent<?,?>>
- Type Parameters:
E- The matchee type
- All Superinterfaces:
AliasAccessor, Diagnosable, EventMatcher<E>, Matchable<E>, Matcher<E>, Schemable<DiagnosticOptions>
This interface typifies the
Matcher interface for the usage with
MetaDataEvent instances. An EventMatcher most commonly uses
the EventMetaData (as defined with the MetaDataEvent) in
order to determine whether an ActionEvent matches
EventMetaData properties or not.-
Nested Class Summary
Nested classes/interfaces inherited from interface AliasAccessor
AliasAccessor.AliasBuilder<B>, AliasAccessor.AliasMutator, AliasAccessor.AliasProperty -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMatching(E aEvent) Tests whether the given event is matching the mathcer's criteria.
-
Method Details
-
isMatching
Tests whether the given event is matching the mathcer's criteria.- Specified by:
isMatchingin interfaceEventMatcher<E extends MetaDataEvent<?,?>> - Specified by:
isMatchingin interfaceMatchable<E extends MetaDataEvent<?,?>> - Parameters:
aEvent- The event used for testing its matchability.- Returns:
- True in case the event matches the matcher's criteria, else false.
-