Uses of Interface
org.refcodes.observer.EventMatcher
-
Uses of EventMatcher in org.refcodes.observer
Classes in org.refcodes.observer with type parameters of type EventMatcherModifier and TypeInterfaceDescriptioninterfaceObserverDescriptor<E extends GenericEvent<?>,O extends Observer<E>, EM extends EventMatcher<E>> ThisObserverDescriptordescribes theObserver, i.e. in some cases anObserverrequires anEventMatcherwhich determines whichGenericActionEventinstances to pass to theObserver.classObserverDescriptorImpl<E extends GenericEvent<?>,O extends Observer<E>, EM extends EventMatcher<E>> As a descriptor describes something fixed, this class is immutable in the sense that there are no setters for the attributes.Subinterfaces of EventMatcher in org.refcodes.observerModifier and TypeInterfaceDescriptioninterfaceMetaDataEventMatcher<E extends GenericMetaDataEvent<?,?>> This interface typifies theMatcherinterface for the usage withGenericMetaDataEventinstances.Classes in org.refcodes.observer that implement EventMatcherModifier and TypeClassDescriptionclassAbstractEventMatcher<E extends GenericEvent<?>>Abstract implementation of anEventMatchertype.classActionEqualWithEventMatcher<E extends GenericActionMetaDataEvent<?,?, ?>> Matches the given action with the action stored in an event's meta data (ACTION EQUAL WITH).classAliasEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> Matches the given alias with the alias stored in an event's meta data (ALIAS EQUAL WITH).classCatchAllEventMatcher<E extends GenericMetaDataEvent<?,?>> Catches all events, no matching is done (CATCH ALL).classCatchNoneEventMatcher<E extends GenericMetaDataEvent<?,?>> Catches no events, no matching is done (CATCH NONE).classChannelEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> Matches the given channel with the channel stored in an event's meta data (CHANNEL EQUAL WITH).classGroupEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> Matches the given group with the group stored in an event's meta data (GROUP EQUAL WITH).classPublisherIsAssignableFromMatcher<E extends GenericMetaDataEvent<?,?>, PT> Matches by event publisher type (EVENT PUBLISHER TYPE).classUniversalIdEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> Matches the given universal ID with the universal ID stored in an event's meta data (UNIVERSAL ID EQUAL WITH).Methods in org.refcodes.observer that return EventMatcherModifier and TypeMethodDescriptionstatic <E extends GenericActionMetaDataEvent<A,?, ?>, A>
EventMatcher<E>EventMatcherSugar.actionEqualWith(A aAction) Factory method to create an "ACTION EQUAL WITH" matcher for the given action compared with the action stored in theEventMetaData.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.aliasEqualWith(String aAlias) Factory method to create an "ALIAS EQUAL WITH" matcher for the given alias compared with the alias stored in theEventMetaData.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.and(EventMatcher<E>... aEventMatchers) Factory method to create an "AND" matcher for the given matchers.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.catchAll()Catches all events, no matching is done.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.catchNone()Catches no event, no matching is done.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.channelEqualWith(String aChannel) Factory method to create an "CHANNEL EQUAL WITH" matcher for the given channel compared with the channel stored in theEventMetaData.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.groupEqualWith(String aGroup) Factory method to create an "GROUP EQUAL WITH" matcher for the given group compared with the group stored in theEventMetaData.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.isAssignableFrom(Class<?> aEventType) Factory method to create an event matcher by event type.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.or(EventMatcher<E>... aEventMatchers) Factory method to create an "OR" matcher for the given matchers.static <E extends GenericMetaDataEvent<?,?>, PT>
EventMatcher<E>EventMatcherSugar.publisherIsAssignableFrom(Class<? extends PT> aPublisherType) Factory method to create an event matcher by event publisher type.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.universalIdEqualWith(String aUid) Factory method to create an "UNIVERSAL ID EQUAL WITH" matcher for the given UID compared with the UID stored in theEventMetaData.Methods in org.refcodes.observer with parameters of type EventMatcherModifier and TypeMethodDescriptionstatic <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.and(EventMatcher<E>... aEventMatchers) Factory method to create an "AND" matcher for the given matchers.static <E extends GenericMetaDataEvent<?,?>>
EventMatcher<E>EventMatcherSugar.or(EventMatcher<E>... aEventMatchers) Factory method to create an "OR" matcher for the given matchers.