Modifier and Type | Method and Description |
---|---|
static <E extends org.refcodes.observer.MetaDataEvent<?>,A> |
EventBusMatcherSugar.actionEqualWith(A aAction)
Factory method to create an "EQUAL WITH" matcher for the given action
compared with the action stored in the
EventMetaData . |
static EventBusMatcher |
EventBusMatcherSugar.and(EventBusMatcher... aEventMatchers)
Factory method to create an "AND" matcher for the given matchers.
|
static EventBusMatcher |
EventBusMatcherSugar.channelEqualWith(String aChannel)
Factory method to create an "EQUAL WITH" matcher for the given channel
compared with the channel stored in the
EventMetaData . |
static EventBusMatcher |
EventBusMatcherSugar.groupEqualWith(String aGroup)
Factory method to create an "EQUAL WITH" matcher for the given group
compared with the group stored in the
EventMetaData . |
static EventBusMatcher |
EventBusMatcherSugar.isAssignableFrom(Class<?> aEventType)
Factory method to create an event matcher by event type.
|
static EventBusMatcher |
EventBusMatcherSugar.nameEqualWith(String aName)
Factory method to create an "EQUAL WITH" matcher for the given name
compared with the name stored in the
EventMetaData . |
static EventBusMatcher |
EventBusMatcherSugar.or(EventBusMatcher... aEventMatchers)
Factory method to create an "OR" matcher for the given matchers.
|
static <E extends org.refcodes.observer.MetaDataEvent<?>,PT> |
EventBusMatcherSugar.publisherIsAssignableFrom(Class<? extends PT> aPublisherType)
Factory method to create an event matcher by event publisher type.
|
static EventBusMatcher |
EventBusMatcherSugar.universalIdEqualWith(String aUniversalId)
Factory method to create an "EQUAL WITH" matcher for the given UID
compared with the UID stored in the
EventMetaData . |
Modifier and Type | Method and Description |
---|---|
static EventBusMatcher |
EventBusMatcherSugar.and(EventBusMatcher... aEventMatchers)
Factory method to create an "AND" matcher for the given matchers.
|
static EventBusMatcher |
EventBusMatcherSugar.or(EventBusMatcher... aEventMatchers)
Factory method to create an "OR" matcher for the given matchers.
|
Copyright © 2017. All rights reserved.