Package | Description |
---|---|
org.refcodes.observer | |
org.refcodes.observer.impls |
Modifier and Type | Interface and Description |
---|---|
interface |
MetaDataEventMatcher<E extends MetaDataEvent<?>>
This interface typifies the
Matcher interface for the usage with
MetaDataEvent instances. |
Modifier and Type | Interface and Description |
---|---|
interface |
MetaDataActionEvent<A,SRC>
An
MetaDataActionEvent is published by an Observable and is
consumed by zero to many Observer instances. |
Modifier and Type | Method and Description |
---|---|
static <E extends MetaDataEvent<?>> |
EventMatcherByDeclaration.and(EventMatcher<E>... aEventMatchers)
Factory method to create an "AND" matcher for the given matchers.
|
static <E extends MetaDataEvent<?>> |
EventMatcherByDeclaration.groupEqualWith(String aGroup)
Factory method to create an "EQUAL WITH" matcher for the given group
compared with the group stored in the
EventMetaData . |
static <E extends MetaDataEvent<?>> |
EventMatcherByDeclaration.isAssignableFrom(Class<?> aEventType)
Factory method to create an event matcher by event type.
|
static <E extends MetaDataEvent<?>> |
EventMatcherByDeclaration.nameEqualWith(String aName)
Factory method to create an "EQUAL WITH" matcher for the given name
compared with the name stored in the
EventMetaData . |
static <E extends MetaDataEvent<?>> |
EventMatcherByDeclaration.or(EventMatcher<E>... aEventMatchers)
Factory method to create an "OR" matcher for the given matchers.
|
static <E extends MetaDataEvent<?>,PT> |
EventMatcherByDeclaration.publisherIsAssignableFrom(Class<? extends PT> aPublisherType)
Factory method to create an event matcher by event publisher type.
|
static <E extends MetaDataEvent<?>> |
EventMatcherByDeclaration.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 | Class and Description |
---|---|
class |
MetaDataActionEventImpl<A,SRC>
Ready to use
ActionEvent storing a defined set of
EventMetaData . |
class |
MetaDataEventImpl<SRC>
Ready to use
ActionEvent storing a defined set of
EventMetaData . |
Copyright © 2016. All rights reserved.