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>
Catches no events, no matching is done (CATCH NONE).
-
Nested Class Summary
Nested classes/interfaces inherited from interface AliasAccessor
AliasAccessor.AliasBuilder<B>, AliasAccessor.AliasMutator, AliasAccessor.AliasProperty -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMatching(E aEvent) Tests whether the givenActionEventis matching theMatcher's criteria.Methods inherited from class AbstractEventMatcher
getAlias, toSchema
-
Field Details
-
ALIAS
- See Also:
-
-
Constructor Details
-
CatchNoneEventMatcher
public CatchNoneEventMatcher()Constructs the "catch all"EventMatcherinstance.
-
-
Method Details
-
isMatching
Tests whether the givenActionEventis matching theMatcher's criteria.- Parameters:
aEvent- TheActionEventused for testing its matchability.- Returns:
- True in case the
ActionEventmatches theMatcher's criteria, else false.
-