Class AbstractEventMatcher<E extends GenericEvent<?>>

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<org.refcodes.matcher.MatcherSchema>, EventMatcher<E>
Direct Known Subclasses:
ActionEqualWithEventMatcher, AliasEqualWithEventMatcher, CatchAllEventMatcher, CatchNoneEventMatcher, ChannelEqualWithEventMatcher, GroupEqualWithEventMatcher, PublisherIsAssignableFromMatcher, UniversalIdEqualWithEventMatcher

public abstract class AbstractEventMatcher<E extends GenericEvent<?>> 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

    Constructors
    Constructor
    Description
    AbstractEventMatcher(String aAlias, String aDescription)
    Constructs the EventMatcher instance with the given alias (action) and description.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.refcodes.matcher.MatcherSchema

    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

      public AbstractEventMatcher(String aAlias, String aDescription)
      Constructs the EventMatcher instance with the given alias (action) and description.
      Parameters:
      aAlias - the alias
      aDescription - the description
  • Method Details

    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface org.refcodes.mixin.AliasAccessor
    • toSchema

      public org.refcodes.matcher.MatcherSchema toSchema()
      Specified by:
      toSchema in interface org.refcodes.mixin.Schemable<E extends GenericEvent<?>>