Module org.refcodes.observer
Package org.refcodes.observer
Class AbstractEventMatcher<E extends Event<?>>
java.lang.Object
org.refcodes.observer.AbstractEventMatcher<E>
- Type Parameters:
E- The matchee type.
- All Implemented Interfaces:
org.refcodes.matcher.Matchable<E>,org.refcodes.matcher.Matcher<E>,org.refcodes.mixin.AliasAccessor,EventMatcher<E>,org.refcodes.schema.Schemable
- Direct Known Subclasses:
ActionEqualWithEventMatcher,AliasEqualWithEventMatcher,CatchAllEventMatcher,CatchNoneEventMatcher,ChannelEqualWithEventMatcher,GroupEqualWithEventMatcher,PublisherTypeOfEventMatcher,UniversalIdEqualWithEventMatcher
public abstract class AbstractEventMatcher<E extends Event<?>>
extends Object
implements EventMatcher<E>
Abstract implementation of an
EventMatcher type.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty -
Constructor Summary
ConstructorsConstructorDescriptionAbstractEventMatcher(String aAlias, String aDescription) Constructs theEventMatcherinstance with the given alias (action) and description. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.refcodes.observer.EventMatcher
isMatching
-
Constructor Details
-
AbstractEventMatcher
Constructs theEventMatcherinstance with the given alias (action) and description.- Parameters:
aAlias- the aliasaDescription- the description
-
-
Method Details
-
getAlias
-
toSchema
public org.refcodes.matcher.MatcherSchema toSchema()
-