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
,org.refcodes.mixin.Schemable
,EventMatcher<E>
- 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
ConstructorDescriptionAbstractEventMatcher
(String aAlias, String aDescription) Constructs theEventMatcher
instance 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, wait
Methods inherited from interface org.refcodes.observer.EventMatcher
isMatching
-
Constructor Details
-
AbstractEventMatcher
Constructs theEventMatcher
instance with the given alias (action) and description.- Parameters:
aAlias
- the aliasaDescription
- the description
-
-
Method Details
-
getAlias
-
toSchema
public org.refcodes.matcher.MatcherSchema toSchema()
-