Uses of Interface
org.refcodes.observer.MetaDataEvent
-
Uses of MetaDataEvent in org.refcodes.observer
Modifier and TypeClassDescriptionclass
AliasEqualWithEventMatcher<E extends MetaDataEvent<?,
?>> Matches the given alias with the alias stored in an event's meta data (ALIAS EQUAL WITH).class
CatchAllEventMatcher<E extends MetaDataEvent<?,
?>> Catches all events, no matching is done (CATCH ALL).class
CatchNoneEventMatcher<E extends MetaDataEvent<?,
?>> Catches no events, no matching is done (CATCH NONE).class
ChannelEqualWithEventMatcher<E extends MetaDataEvent<?,
?>> Matches the given channel with the channel stored in an event's meta data (CHANNEL EQUAL WITH).class
GroupEqualWithEventMatcher<E extends MetaDataEvent<?,
?>> Matches the given group with the group stored in an event's meta data (GROUP EQUAL WITH).interface
MetaDataEventMatcher<E extends MetaDataEvent<?,
?>> This interface typifies theMatcher
interface for the usage withMetaDataEvent
instances.class
PublisherTypeOfEventMatcher<E extends MetaDataEvent<?,
?>, PT> Matches by event publisher type (EVENT PUBLISHER TYPE).class
UniversalIdEqualWithEventMatcher<E extends MetaDataEvent<?,
?>> Matches the given universal ID with the universal ID stored in an event's meta data (UNIVERSAL ID EQUAL WITH).Modifier and TypeInterfaceDescriptioninterface
MetaDataActionEvent<A,
EM extends EventMetaData, SRC> AnMetaDataActionEvent
provides Meta-Data describing theActionEvent
in more detail and a source being the origin of theMetaDataActionEvent
.Modifier and TypeClassDescriptionclass
AbstractMetaDataActionEvent<A,
EM extends EventMetaData, SRC> TheAbstractMetaDataActionEvent
provides a base implementation for anMetaDataActionEvent
.class
AbstractMetaDataEvent<EM extends EventMetaData,
SRC> TheAbstractMetaDataEvent
provides a base implementation for anMetaDataEvent
.Modifier and TypeMethodDescriptionstatic <E extends MetaDataEvent<?,
?>>
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 MetaDataEvent<?,
?>>
EventMatcher<E>EventMatcherSugar.and
(EventMatcher<E>... aEventMatchers) Factory method to create an "AND" matcher for the given matchers.static <E extends MetaDataEvent<?,
?>>
EventMatcher<E>EventMatcherSugar.catchAll()
Catches all events, no matching is done.static <E extends MetaDataEvent<?,
?>>
EventMatcher<E>EventMatcherSugar.catchNone()
Catches no event, no matching is done.static <E extends MetaDataEvent<?,
?>>
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 MetaDataEvent<?,
?>>
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 MetaDataEvent<?,
?>>
EventMatcher<E>EventMatcherSugar.isAssignableFrom
(Class<?> aEventType) Factory method to create an event matcher by event type.static <E extends MetaDataEvent<?,
?>>
EventMatcher<E>EventMatcherSugar.or
(EventMatcher<E>... aEventMatchers) Factory method to create an "OR" matcher for the given matchers.static <E extends MetaDataEvent<?,
?>, PT>
EventMatcher<E>EventMatcherSugar.publisherIsAssignableFrom
(Class<? extends PT> aPublisherType) Factory method to create an event matcher by event publisher type.static <E extends MetaDataEvent<?,
?>>
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
.