Index

A C D E F G H I M O P S T U W _ 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractActionEvent<A,SRC> - Class in org.refcodes.observer
The Class AbstractActionEvent.
AbstractActionEvent(A, SRC) - Constructor for class org.refcodes.observer.AbstractActionEvent
Constructs an event with the given source.
AbstractActionEvent(SRC) - Constructor for class org.refcodes.observer.AbstractActionEvent
Constructs an event with the given source.
AbstractActionMetaDataEventBuilder(A, EM, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionMetaDataEventBuilder(A, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionMetaDataEventBuilder(EM, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionMetaDataEventBuilder(SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionPayloadMetaDataEventBuilder(A, P, EM, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionPayloadMetaDataEventBuilder(A, P, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionPayloadMetaDataEventBuilder(EM, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionPayloadMetaDataEventBuilder(P, EM, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractActionPayloadMetaDataEventBuilder(P, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
Constructs an event with the given Meta-Data.
AbstractEvent<SRC> - Class in org.refcodes.observer
Basic implementation of the GenericEvent.
AbstractEvent(SRC) - Constructor for class org.refcodes.observer.AbstractEvent
Constructs an event with the given source.
AbstractEventMatcher<E extends GenericEvent<?>> - Class in org.refcodes.observer
Abstract implementation of an EventMatcher type.
AbstractEventMatcher(String, String) - Constructor for class org.refcodes.observer.AbstractEventMatcher
Constructs the EventMatcher instance with the given alias (action) and description.
AbstractMetaDataActionEvent<A,EM extends org.refcodes.mixin.EventMetaData,SRC> - Class in org.refcodes.observer
Ready to use GenericActionEvent storing a defined set of EventMetaData.
AbstractMetaDataActionEvent(A, EM, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractMetaDataActionEvent(A, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractMetaDataActionEvent(EM, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractMetaDataActionEvent(SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<A,EM extends org.refcodes.mixin.EventMetaData,SRC,B extends GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>> - Class in org.refcodes.observer
Implementation of the GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder interface for easily creating MetaDataActionEvent instances.
AbstractMetaDataEvent<EM extends org.refcodes.mixin.EventMetaData,SRC> - Class in org.refcodes.observer
Ready to use GenericActionEvent storing a defined set of EventMetaData.
AbstractMetaDataEvent(EM, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataEvent
Constructs an event with the given Meta-Data.
AbstractMetaDataEvent(String, SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataEvent
Constructs an event with the given Meta-Data.
AbstractMetaDataEvent(SRC) - Constructor for class org.refcodes.observer.AbstractMetaDataEvent
Constructs an event with the given Meta-Data.
AbstractObservable<O,EV> - Class in org.refcodes.observer
This abstract class provides functionality to implement default refcodes Observable behavior.
AbstractObservable() - Constructor for class org.refcodes.observer.AbstractObservable
Constructs the AbstractObservable with a default ExecutorService pool.
AbstractObservable(ExecutorService) - Constructor for class org.refcodes.observer.AbstractObservable
Constructs the AbstractObservable with a provided ExecutorService pool.
AbstractPayloadActionEvent<A,P,SRC> - Class in org.refcodes.observer
Basic implementation of the GenericActionPayloadEvent.
AbstractPayloadActionEvent(A, P, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadActionEvent
Constructs an event with the given Meta-Data.
AbstractPayloadEvent<P,SRC> - Class in org.refcodes.observer
Basic implementation of the GenericPayloadEvent.
AbstractPayloadEvent(P, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadEvent
Constructs an event with the given source.
AbstractPayloadMetaDataActionEvent<A,P,EM extends org.refcodes.mixin.EventMetaData,SRC> - Class in org.refcodes.observer
Basic implementation of the GenericActionPayloadMetaDataEvent.
AbstractPayloadMetaDataActionEvent(A, P, EM, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractPayloadMetaDataActionEvent(A, P, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractPayloadMetaDataActionEvent(P, EM, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractPayloadMetaDataActionEvent(P, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.
AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder<A,P,EM extends org.refcodes.mixin.EventMetaData,SRC,B extends GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,EM,SRC,B>> - Class in org.refcodes.observer
AbstractPayloadMetaDataEvent<P,EM extends org.refcodes.mixin.EventMetaData,SRC> - Class in org.refcodes.observer
Basic implementation of the GenericActionPayloadEvent.
AbstractPayloadMetaDataEvent(P, EM, SRC) - Constructor for class org.refcodes.observer.AbstractPayloadMetaDataEvent
Constructs an event with the given Meta-Data and payload.
actionEqualWith(A) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an "ACTION EQUAL WITH" matcher for the given action compared with the action stored in the EventMetaData.
ActionEqualWithEventMatcher<E extends GenericActionMetaDataEvent<?,?,?>> - Class in org.refcodes.observer
Matches the given action with the action stored in an event's meta data (ACTION EQUAL WITH).
ActionEqualWithEventMatcher(A) - Constructor for class org.refcodes.observer.ActionEqualWithEventMatcher
Instantiates a new action equal with matcher.
ActionEvent - Interface in org.refcodes.observer
An ActionEvent extends the Event and provides additional means to provide an action ActionAccessor.getAction() being of type Enum.
ActionEventImpl - Class in org.refcodes.observer
Basic implementation of the Event interface.
ActionEventImpl(Enum<?>, Object) - Constructor for class org.refcodes.observer.ActionEventImpl
Constructs an event with the given source.
ALIAS - Static variable in class org.refcodes.observer.ActionEqualWithEventMatcher
 
ALIAS - Static variable in class org.refcodes.observer.AliasEqualWithEventMatcher
 
ALIAS - Static variable in class org.refcodes.observer.CatchAllEventMatcher
 
ALIAS - Static variable in class org.refcodes.observer.CatchNoneEventMatcher
 
ALIAS - Static variable in class org.refcodes.observer.ChannelEqualWithEventMatcher
 
ALIAS - Static variable in class org.refcodes.observer.GroupEqualWithEventMatcher
 
ALIAS - Static variable in class org.refcodes.observer.PublisherIsAssignableFromMatcher
 
ALIAS - Static variable in class org.refcodes.observer.UniversalIdEqualWithEventMatcher
 
aliasEqualWith(String) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an "ALIAS EQUAL WITH" matcher for the given alias compared with the alias stored in the EventMetaData.
AliasEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> - Class in org.refcodes.observer
Matches the given alias with the alias stored in an event's meta data (ALIAS EQUAL WITH).
AliasEqualWithEventMatcher(String) - Constructor for class org.refcodes.observer.AliasEqualWithEventMatcher
Instantiates a new alias equal with matcher impl.
and(EventMatcher<E>...) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an "AND" matcher for the given matchers.

C

catchAll() - Static method in class org.refcodes.observer.EventMatcherSugar
Catches all events, no matching is done.
CatchAllEventMatcher<E extends GenericMetaDataEvent<?,?>> - Class in org.refcodes.observer
Catches all events, no matching is done (CATCH ALL).
CatchAllEventMatcher() - Constructor for class org.refcodes.observer.CatchAllEventMatcher
Constructs the "catch all" EventMatcher instance.
catchNone() - Static method in class org.refcodes.observer.EventMatcherSugar
Catches no event, no matching is done.
CatchNoneEventMatcher<E extends GenericMetaDataEvent<?,?>> - Class in org.refcodes.observer
Catches no events, no matching is done (CATCH NONE).
CatchNoneEventMatcher() - Constructor for class org.refcodes.observer.CatchNoneEventMatcher
Constructs the "catch all" EventMatcher instance.
channelEqualWith(String) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an "CHANNEL EQUAL WITH" matcher for the given channel compared with the channel stored in the EventMetaData.
ChannelEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> - Class in org.refcodes.observer
Matches the given channel with the channel stored in an event's meta data (CHANNEL EQUAL WITH).
ChannelEqualWithEventMatcher(String) - Constructor for class org.refcodes.observer.ChannelEqualWithEventMatcher
Instantiates a new channel equal with matcher impl.
clear() - Method in class org.refcodes.observer.AbstractObservable
Clears all observers from this AbstractObservable.

D

disableObservers() - Method in interface org.refcodes.observer.Observers
Disables all observables.
dispose() - Method in class org.refcodes.observer.AbstractObservable
doHandleEventListenerException(Exception, O, EV, ExecutionStrategy) - Method in class org.refcodes.observer.AbstractObservable
This hook method allows you to handle any exceptions being thrown by an event listener whilst invoking a given event.

E

enableObservers() - Method in interface org.refcodes.observer.Observers
Enables all observables.
Event - Interface in org.refcodes.observer
An Event is published by an Observable and is consumed by zero to many Observer instances.
EventImpl - Class in org.refcodes.observer
Basic implementation of the Event interface.
EventImpl(Object) - Constructor for class org.refcodes.observer.EventImpl
Constructs an event with the given source.
EventMatcher<E extends GenericEvent<?>> - Interface in org.refcodes.observer
This interface typifies the Matcher interface for the usage with GenericActionEvent instances.
EventMatcherSugar - Class in org.refcodes.observer
Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for the EventMatcher elements.
EventMatcherSugar() - Constructor for class org.refcodes.observer.EventMatcherSugar
 

F

fireEvent(EV, ExecutionStrategy) - Method in class org.refcodes.observer.AbstractObservable
To be used by the implementing class when firing an event to it's listeners.
fireEvent(EV, O, ExecutionStrategy) - Method in class org.refcodes.observer.AbstractObservable
This hook method is to be implemented by the implementing class.

G

GenericActionEvent<A,SRC> - Interface in org.refcodes.observer
An GenericActionEvent extends the GenericEvent and provides additional means to provide an action via ActionAccessor.getAction() being of a generic type.
GenericActionMetaDataEvent<A,EM extends org.refcodes.mixin.EventMetaData,SRC> - Interface in org.refcodes.observer
An GenericActionMetaDataEvent provides Meta-Data describing the GenericActionEvent in more detail and a source being the origin of the GenericActionMetaDataEvent.
GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM extends org.refcodes.mixin.EventMetaData,SRC,B extends GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>> - Interface in org.refcodes.observer
Builder extension for the GenericActionMetaDataEvent type.
GenericActionPayloadEvent<A,P,SRC> - Interface in org.refcodes.observer
The GenericActionPayloadEvent represents an ActionEvent which carries an additional payload.
GenericActionPayloadMetaDataEvent<A,P,EM extends org.refcodes.mixin.EventMetaData,SRC> - Interface in org.refcodes.observer
An GenericActionPayloadMetaDataEvent provides Meta-Data describing the GenericActionPayloadMetaDataEvent in more detail and a payload as well as an action.
GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,EM extends org.refcodes.mixin.EventMetaData,SRC,B extends GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,EM,SRC,B>> - Interface in org.refcodes.observer
Builder extension for the GenericActionPayloadMetaDataEvent type.
GenericEvent<SRC> - Interface in org.refcodes.observer
An GenericEvent is published by an Observable and is consumed by zero to many Observer instances.
GenericMetaDataEvent<EM extends org.refcodes.mixin.EventMetaData,SRC> - Interface in org.refcodes.observer
An GenericMetaDataEvent provides Meta-Data describing the GenericActionEvent in more detail and a source being the origin of the GenericMetaDataEvent.
GenericPayloadEvent<P,SRC> - Interface in org.refcodes.observer
The GenericPayloadEvent represents an Event which carries an additional payload accessible via PayloadAccessor.getPayload().
GenericPayloadMetaDataEvent<P,EM extends org.refcodes.mixin.EventMetaData,SRC> - Interface in org.refcodes.observer
An GenericPayloadMetaDataEvent provides Meta-Data describing the GenericPayloadMetaDataEvent in more detail and a payload.
getAction() - Method in class org.refcodes.observer.AbstractActionEvent
getAlias() - Method in class org.refcodes.observer.AbstractEventMatcher
getAlias() - Method in class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
getChannel() - Method in class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
getEventMatcher() - Method in interface org.refcodes.observer.ObserverDescriptor
Returns the EventMatcher associated with the given Observer.
getEventMatcher() - Method in class org.refcodes.observer.ObserverDescriptorImpl
Returns the EventMatcher associated with the given Observer.
getGroup() - Method in class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
getMetaData() - Method in class org.refcodes.observer.AbstractMetaDataActionEvent
getMetaData() - Method in class org.refcodes.observer.AbstractMetaDataEvent
getMetaData() - Method in interface org.refcodes.observer.MetaDataActionEvent.ActionMetaDataEventBuilder
getMetaData() - Method in class org.refcodes.observer.MetaDataActionEventBuilderImpl
getMetaData() - Method in class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
getObserver() - Method in interface org.refcodes.observer.ObserverDescriptor
Returns the Observer associated with the given EventMatcher.
getObserver() - Method in class org.refcodes.observer.ObserverDescriptorImpl
Returns the Observer associated with the given EventMatcher.
getPayload() - Method in class org.refcodes.observer.AbstractPayloadActionEvent
getPayload() - Method in class org.refcodes.observer.AbstractPayloadEvent
getPayload() - Method in class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
getPayload() - Method in class org.refcodes.observer.AbstractPayloadMetaDataActionEvent
getPayload() - Method in class org.refcodes.observer.AbstractPayloadMetaDataEvent
getPublisherType() - Method in class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
getSource() - Method in class org.refcodes.observer.AbstractEvent
getThreadPriority() - Method in class org.refcodes.observer.AbstractObservable
In case of ExecutionStrategy.PARALLEL or ExecutionStrategy.JOIN, the threads' priority is defined by this attribute.
getUniversalId() - Method in class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
groupEqualWith(String) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an "GROUP EQUAL WITH" matcher for the given group compared with the group stored in the EventMetaData.
GroupEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> - Class in org.refcodes.observer
Matches the given group with the group stored in an event's meta data (GROUP EQUAL WITH).
GroupEqualWithEventMatcher(String) - Constructor for class org.refcodes.observer.GroupEqualWithEventMatcher
Instantiates a new group equal with matcher impl.

H

hasObserverSubscription(O) - Method in class org.refcodes.observer.AbstractObservable
Tests whether the given observer (event listener) has been added to this Observable.
hasObserverSubscription(O) - Method in interface org.refcodes.observer.Observable
Tests whether the given observer (event listener) has been added to this Observable.

I

isAssignableFrom(Class<?>) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an event matcher by event type.
isEmpty() - Method in class org.refcodes.observer.AbstractObservable
Determines whether there are observers being registered.
isMatching(E) - Method in class org.refcodes.observer.ActionEqualWithEventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in class org.refcodes.observer.AliasEqualWithEventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in class org.refcodes.observer.CatchAllEventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in class org.refcodes.observer.CatchNoneEventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in class org.refcodes.observer.ChannelEqualWithEventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in interface org.refcodes.observer.EventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in class org.refcodes.observer.GroupEqualWithEventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in interface org.refcodes.observer.MetaDataEventMatcher
Tests whether the given event is matching the mathcer's criteria.
isMatching(E) - Method in class org.refcodes.observer.PublisherIsAssignableFromMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isMatching(E) - Method in class org.refcodes.observer.UniversalIdEqualWithEventMatcher
Tests whether the given GenericActionEvent is matching the Matcher's criteria.
isObserversActive() - Method in class org.refcodes.observer.AbstractObservable
Checks if is observers active.
isObserversActive() - Method in interface org.refcodes.observer.Observers
Returns true when all Observer instances are theoretically active (the instance may also decide by itself), else false.

M

MetaDataActionEvent - Interface in org.refcodes.observer
An MetaDataActionEvent is published by an Observable and is consumed by zero to many Observer instances.
MetaDataActionEvent.ActionMetaDataEventBuilder - Interface in org.refcodes.observer
Builder for the MetaDataActionEvent.
MetaDataActionEventBuilderImpl - Class in org.refcodes.observer
Implementation of the MetaDataActionEvent.ActionMetaDataEventBuilder interface for easily creating MetaDataActionEvent instances.
MetaDataActionEventBuilderImpl(Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
MetaDataActionEventBuilderImpl(Enum<?>, Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
MetaDataActionEventBuilderImpl(Enum<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
MetaDataActionEventBuilderImpl(Enum<?>, String, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
MetaDataActionEventBuilderImpl(Enum<?>, String, String, String, String, Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with the given values for the according properties.
MetaDataActionEventBuilderImpl(Enum<?>, EventMetaData, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
MetaDataActionEventBuilderImpl(Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
MetaDataActionEventBuilderImpl(String, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
MetaDataActionEventBuilderImpl(String, String, String, String, Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with the given values for the according properties.
MetaDataActionEventBuilderImpl(EventMetaData, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
MetaDataActionEventImpl - Class in org.refcodes.observer
The Class MetaDataActionEventImpl.
MetaDataActionEventImpl(Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the according properties.
MetaDataActionEventImpl(Enum<?>, Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the according properties.
MetaDataActionEventImpl(Enum<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the given Meta-Data.
MetaDataActionEventImpl(Enum<?>, String, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the according properties.
MetaDataActionEventImpl(Enum<?>, String, String, String, String, Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the given values for the according properties.
MetaDataActionEventImpl(Enum<?>, EventMetaData, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the given Meta-Data.
MetaDataActionEventImpl(Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the given Meta-Data.
MetaDataActionEventImpl(String, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the according properties.
MetaDataActionEventImpl(String, String, String, String, Class<?>, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the given values for the according properties.
MetaDataActionEventImpl(EventMetaData, Object) - Constructor for class org.refcodes.observer.MetaDataActionEventImpl
Constructs an event with the given Meta-Data.
MetaDataEvent - Interface in org.refcodes.observer
An MetaDataEvent is published by an Observable and is consumed by zero to many Observer instances.
MetaDataEventImpl - Class in org.refcodes.observer
Basic implementation of the Event interface.
MetaDataEventImpl(Object) - Constructor for class org.refcodes.observer.MetaDataEventImpl
Constructs an event with the given Meta-Data.
MetaDataEventImpl(String, Object) - Constructor for class org.refcodes.observer.MetaDataEventImpl
Constructs an event with the given Meta-Data.
MetaDataEventImpl(EventMetaData, Object) - Constructor for class org.refcodes.observer.MetaDataEventImpl
Constructs an event with the given Meta-Data.
MetaDataEventMatcher<E extends GenericMetaDataEvent<?,?>> - Interface in org.refcodes.observer
This interface typifies the Matcher interface for the usage with GenericMetaDataEvent instances.

O

Observable<O> - Interface in org.refcodes.observer
The Observable interface can be implemented by any class which can be observed by Observer instances (proposal) or any listener interface (custom as of your needs).
ObservableObserver<O extends Observable<?>> - Interface in org.refcodes.observer
An ObservableObserver is an observer, observing an observable.
Observer<E extends GenericEvent<?>> - Interface in org.refcodes.observer
The listener of an event subscriber to be fed with events by a event publisher.
ObserverDescriptor<E extends GenericEvent<?>,O extends Observer<E>,EM extends EventMatcher<E>> - Interface in org.refcodes.observer
This ObserverDescriptor describes the Observer, i.e. in some cases an Observer requires an EventMatcher which determines which GenericActionEvent instances to pass to the Observer.
ObserverDescriptorImpl<E extends GenericEvent<?>,O extends Observer<E>,EM extends EventMatcher<E>> - Class in org.refcodes.observer
As a descriptor describes something fixed, this class is immutable in the sense that there are no setters for the attributes.
ObserverDescriptorImpl(O, EM) - Constructor for class org.refcodes.observer.ObserverDescriptorImpl
Constructs the event listener descriptor with the given event listener and the given event matcher.
observers() - Method in class org.refcodes.observer.AbstractObservable
Observers.
observers() - Method in interface org.refcodes.observer.Observers
Returns an Iterator with the registered observers.
Observers<O,B extends Observers<O,B>> - Interface in org.refcodes.observer
Provides methods to manage all subscribed Observer instances as a whole and is intended as an extension of the Observable interface.
onEvent(E) - Method in interface org.refcodes.observer.Observer
The listener implementing this interface is notified of an event via this method.
onEvent(E) - Method in class org.refcodes.observer.ObserverDescriptorImpl
The listener implementing this interface is notified of an event via this method.
onSubscribe(SubscribeEvent<O>) - Method in interface org.refcodes.observer.ObservableObserver
This method is called when information about an Observable which was previously requested using an asynchronous interface becomes available.
onUnsubscribe(UnsubscribeEvent<O>) - Method in interface org.refcodes.observer.ObservableObserver
This method is called when information about an Observable which was previously requested using an asynchronous interface becomes available.
or(EventMatcher<E>...) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an "OR" matcher for the given matchers.
org.refcodes.observer - module org.refcodes.observer
 
org.refcodes.observer - package org.refcodes.observer
This package provides types supporting the Observable-Pattern.

P

PayloadActionEvent<P> - Interface in org.refcodes.observer
The PayloadActionEvent represents an ActionEvent which carries an additional payload.
PayloadActionEventImpl<P> - Class in org.refcodes.observer
The PayloadActionEvent represents an ActionEvent which carries an additional payload.
PayloadActionEventImpl(Enum<?>, P, Object) - Constructor for class org.refcodes.observer.PayloadActionEventImpl
Constructs an event with the given Meta-Data.
PayloadEvent<P> - Interface in org.refcodes.observer
The PayloadEvent represents an Event which carries an additional payload accessible via PayloadAccessor.getPayload().
PayloadEventImpl<P> - Class in org.refcodes.observer
Basic implementation of the PayloadEvent interface.
PayloadEventImpl(P, Object) - Constructor for class org.refcodes.observer.PayloadEventImpl
Constructs an event with the given source.
PayloadMetaDataActionEvent<P> - Interface in org.refcodes.observer
An PayloadMetaDataActionEvent provides Meta-Data describing the PayloadMetaDataActionEvent in more detail and a payload as well as an action.
PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P> - Interface in org.refcodes.observer
Builder extension for the PayloadMetaDataActionEvent type.
PayloadMetaDataActionEventBuilderImpl<P> - Class in org.refcodes.observer
Implementation of the PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder interface for easily creating PayloadMetaDataActionEvent instances.
PayloadMetaDataActionEventBuilderImpl(Class<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
PayloadMetaDataActionEventBuilderImpl(Enum<?>, Class<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
PayloadMetaDataActionEventBuilderImpl(Enum<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventBuilderImpl(Enum<?>, String, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
PayloadMetaDataActionEventBuilderImpl(Enum<?>, String, String, String, String, Class<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given values for the according properties.
PayloadMetaDataActionEventBuilderImpl(Enum<?>, EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventBuilderImpl(Enum<?>, P, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventBuilderImpl(Enum<?>, P, EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventBuilderImpl(Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventBuilderImpl(String, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
PayloadMetaDataActionEventBuilderImpl(String, String, String, String, Class<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given values for the according properties.
PayloadMetaDataActionEventBuilderImpl(EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventBuilderImpl(P, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventBuilderImpl(P, EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventImpl<P> - Class in org.refcodes.observer
Basic implementation of the AbstractPayloadMetaDataActionEvent.
PayloadMetaDataActionEventImpl(Enum<?>, Class<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
PayloadMetaDataActionEventImpl(Enum<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventImpl(Enum<?>, String, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.
PayloadMetaDataActionEventImpl(Enum<?>, String, String, String, String, Class<?>, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with the given values for the according properties.
PayloadMetaDataActionEventImpl(Enum<?>, EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventImpl(Enum<?>, P, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventImpl(Enum<?>, P, EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventImpl(P, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataActionEventImpl(P, EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataActionEventImpl
Constructs an event with the given Meta-Data.
PayloadMetaDataEvent<P> - Interface in org.refcodes.observer
An PayloadMetaDataEvent provides Meta-Data describing the GenericPayloadMetaDataEvent in more detail and a payload.
PayloadMetaDataEventImpl<P> - Class in org.refcodes.observer
Basic implementation of the PayloadMetaDataEvent interface.
PayloadMetaDataEventImpl(P, EventMetaData, Object) - Constructor for class org.refcodes.observer.PayloadMetaDataEventImpl
Constructs an event with the given Meta-Data and payload.
Publisher<E extends GenericEvent<?>> - Interface in org.refcodes.observer
A system publishing GenericActionEvent instances (such as an event bus), may implement this interface.
publisherIsAssignableFrom(Class<? extends PT>) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an event matcher by event publisher type.
PublisherIsAssignableFromMatcher<E extends GenericMetaDataEvent<?,?>,PT> - Class in org.refcodes.observer
Matches by event publisher type (EVENT PUBLISHER TYPE).
PublisherIsAssignableFromMatcher(Class<? extends PT>) - Constructor for class org.refcodes.observer.PublisherIsAssignableFromMatcher
Instantiates a new publisher is assignable from matcher impl.
publishEvent(E) - Method in interface org.refcodes.observer.Publisher
The listener implementing this interface is notified of an event via this method.

S

setAction(A) - Method in class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
setAlias(String) - Method in class org.refcodes.observer.MetaDataActionEventBuilderImpl
setAlias(String) - Method in class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
setChannel(String) - Method in class org.refcodes.observer.MetaDataActionEventBuilderImpl
setChannel(String) - Method in class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
setGroup(String) - Method in class org.refcodes.observer.MetaDataActionEventBuilderImpl
setGroup(String) - Method in class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
setMetaData(EventMetaData) - Method in class org.refcodes.observer.MetaDataActionEventBuilderImpl
setMetaData(EventMetaData) - Method in class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
setObserversActive(boolean) - Method in class org.refcodes.observer.AbstractObservable
Sets the observers active.
setObserversActive(boolean) - Method in interface org.refcodes.observer.Observers
Enables or disables all Observer instances.
setPayload(P) - Method in class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
setPublisherType(Class<?>) - Method in class org.refcodes.observer.MetaDataActionEventBuilderImpl
setPublisherType(Class<?>) - Method in class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
setThreadPriority(int) - Method in class org.refcodes.observer.AbstractObservable
In case of ExecutionStrategy.PARALLEL or ExecutionStrategy.JOIN, the threads' priority is defined by this attribute.
setUniversalId(String) - Method in class org.refcodes.observer.MetaDataActionEventBuilderImpl
setUniversalId(String) - Method in class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
size() - Method in class org.refcodes.observer.AbstractObservable
Determines the number of observers being registered.
SubscribeEvent<O extends Observable<?>> - Interface in org.refcodes.observer
An SubscribeEvent is published by an Observable when an observer is being subscribed.
SubscribeEventImpl<O extends Observable<?>> - Class in org.refcodes.observer
The Class SubscribeEventImpl.
SubscribeEventImpl(O) - Constructor for class org.refcodes.observer.SubscribeEventImpl
Instantiates a new subscribe event.
subscribeObserver(O) - Method in class org.refcodes.observer.AbstractObservable
Adds the given observer (event listener).
subscribeObserver(O) - Method in interface org.refcodes.observer.Observable
Adds the given observer (event listener).

T

toSchema() - Method in class org.refcodes.observer.AbstractEventMatcher
toSchema() - Method in class org.refcodes.observer.ActionEqualWithEventMatcher
toSchema() - Method in class org.refcodes.observer.AliasEqualWithEventMatcher
toSchema() - Method in class org.refcodes.observer.ChannelEqualWithEventMatcher
toSchema() - Method in class org.refcodes.observer.GroupEqualWithEventMatcher
toSchema() - Method in class org.refcodes.observer.PublisherIsAssignableFromMatcher
toSchema() - Method in class org.refcodes.observer.UniversalIdEqualWithEventMatcher
toString() - Method in class org.refcodes.observer.AbstractMetaDataActionEvent
toString() - Method in class org.refcodes.observer.AbstractMetaDataEvent
toString() - Method in class org.refcodes.observer.PayloadEventImpl

U

universalIdEqualWith(String) - Static method in class org.refcodes.observer.EventMatcherSugar
Factory method to create an "UNIVERSAL ID EQUAL WITH" matcher for the given UID compared with the UID stored in the EventMetaData.
UniversalIdEqualWithEventMatcher<E extends GenericMetaDataEvent<?,?>> - Class in org.refcodes.observer
Matches the given universal ID with the universal ID stored in an event's meta data (UNIVERSAL ID EQUAL WITH).
UniversalIdEqualWithEventMatcher(String) - Constructor for class org.refcodes.observer.UniversalIdEqualWithEventMatcher
Instantiates a new Universal-ID equal with matcher impl.
UnsubscribeEvent<O extends Observable<?>> - Interface in org.refcodes.observer
An UnsubscribeEvent is published by an Observable when an observer is being unsubscribed.
UnsubscribeEventImpl<O extends Observable<?>> - Class in org.refcodes.observer
The Class UnsubscribeEventImpl.
UnsubscribeEventImpl(O) - Constructor for class org.refcodes.observer.UnsubscribeEventImpl
Instantiates a new unsubscribe event.
unsubscribeObserver(O) - Method in class org.refcodes.observer.AbstractObservable
Removes the observer (event listener).
unsubscribeObserver(O) - Method in interface org.refcodes.observer.Observable
Removes the observer (event listener).

W

withAction(A) - Method in interface org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder
withAction(Enum<?>) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withAlias(String) - Method in interface org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder
withAlias(String) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withChannel(String) - Method in interface org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder
withChannel(String) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withDisableObservers() - Method in interface org.refcodes.observer.Observers
Builder method for the Observers.disableObservers() operation.
withEnableObservers() - Method in interface org.refcodes.observer.Observers
Builder method for the Observers.enableObservers() operation.
withGroup(String) - Method in interface org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder
withGroup(String) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withMetaData(EM) - Method in interface org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder
withMetaData(EventMetaData) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withObserversActive(boolean) - Method in interface org.refcodes.observer.Observers
Builder method for the Observers.setObserversActive(boolean) operation.
withPayload(P) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withPublisherType(Class<?>) - Method in interface org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder
withPublisherType(Class<?>) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withUniversalId(String) - Method in interface org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder
withUniversalId(String) - Method in interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder

_

_action - Variable in class org.refcodes.observer.AbstractActionEvent
 
_eventMetaData - Variable in class org.refcodes.observer.AbstractMetaDataActionEvent
 
_eventMetaData - Variable in class org.refcodes.observer.AbstractMetaDataEvent
 
_payload - Variable in class org.refcodes.observer.AbstractPayloadActionEvent
 
_payload - Variable in class org.refcodes.observer.AbstractPayloadMetaDataEvent
 
A C D E F G H I M O P S T U W _ 
All Classes and Interfaces|All Packages|Constant Field Values