Uses of Interface
org.refcodes.eventbus.ext.application.ApplicationEventMatcher
-
Uses of ApplicationEventMatcher in org.refcodes.eventbus.ext.application
Modifier and TypeClassDescriptionprotected static class
protected static class
Modifier and TypeMethodDescriptionstatic <A> ApplicationEventMatcher
ApplicationBusSugar.actionEqualWith
(A aAction) Factory method to create an "EQUAL WITH" matcher for the given action compared with the action stored in theEventMetaData
.static ApplicationEventMatcher
ApplicationBusSugar.aliasEqualWith
(String aAlias) Factory method to create an "EQUAL WITH" matcher for the given name compared with the name stored in theEventMetaData
.static ApplicationEventMatcher
ApplicationBusSugar.and
(ApplicationEventMatcher... aEventMatchers) Factory method to create an "AND" matcher for the given matchers.static ApplicationEventMatcher
ApplicationBusSugar.catchAll()
Catches all events, no matching is done.static ApplicationEventMatcher
ApplicationBusSugar.catchNone()
Catches no event, no matching is done.static ApplicationEventMatcher
ApplicationBusSugar.channelEqualWith
(String aChannel) Factory method to create an "EQUAL WITH" matcher for the given channel compared with the channel stored in theEventMetaData
.static ApplicationEventMatcher
ApplicationBusSugar.groupEqualWith
(String aGroup) Factory method to create an "EQUAL WITH" matcher for the given group compared with the group stored in theEventMetaData
.static ApplicationEventMatcher
ApplicationBusSugar.isAssignableFrom
(Class<?> aEventType) Factory method to create an event matcher by event type.static ApplicationEventMatcher
ApplicationBusSugar.or
(ApplicationEventMatcher... aEventMatchers) Factory method to create an "OR" matcher for the given matchers.static <PT> ApplicationEventMatcher
ApplicationBusSugar.publisherIsAssignableFrom
(Class<? extends PT> aPublisherType) Factory method to create an event matcher by event publisher type.static ApplicationEventMatcher
ApplicationBusSugar.uidIdEqualWith
(String aUid) Factory method to create an "EQUAL WITH" matcher for the given UID compared with the UID stored in theEventMetaData
.Modifier and TypeMethodDescriptionstatic ApplicationEventMatcher
ApplicationBusSugar.and
(ApplicationEventMatcher... aEventMatchers) Factory method to create an "AND" matcher for the given matchers.static ApplicationEventMatcher
ApplicationBusSugar.or
(ApplicationEventMatcher... aEventMatchers) Factory method to create an "OR" matcher for the given matchers.default <EVT extends ApplicationBusEvent>
StringApplicationBus.subscribe
(Class<EVT> aEventType, ApplicationEventMatcher aEventMatcher, org.refcodes.observer.Observer<EVT> aObserver)