Class PayloadBusEventBuilderImpl<P>
java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<A,SRC>
org.refcodes.observer.AbstractMetaDataActionEvent<A,EM,SRC>
org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<A,EM,SRC,B>
org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder<Enum<?>,P,org.refcodes.mixin.EventMetaData,Object,org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P>>
org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl<P>
org.refcodes.eventbus.ext.application.PayloadBusEventBuilderImpl<P>
- All Implemented Interfaces:
PayloadBusEvent.PayloadEventBuilder<P>
,org.refcodes.mixin.ActionAccessor<Enum<?>>
,org.refcodes.mixin.ActionAccessor.ActionBuilder<Enum<?>,
,org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P>> org.refcodes.mixin.ActionAccessor.ActionMutator<Enum<?>>
,org.refcodes.mixin.ActionAccessor.ActionProperty<Enum<?>>
,org.refcodes.mixin.AliasAccessor
,org.refcodes.mixin.AliasAccessor.AliasBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.AliasAccessor.AliasMutator
,org.refcodes.mixin.AliasAccessor.AliasProperty
,org.refcodes.mixin.ChannelAccessor
,org.refcodes.mixin.ChannelAccessor.ChannelBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.ChannelAccessor.ChannelMutator
,org.refcodes.mixin.ChannelAccessor.ChannelProperty
,org.refcodes.mixin.EventMetaData
,org.refcodes.mixin.EventMetaData.EventMetaDataBuilder
,org.refcodes.mixin.GroupAccessor
,org.refcodes.mixin.GroupAccessor.GroupBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.GroupAccessor.GroupMutator
,org.refcodes.mixin.GroupAccessor.GroupProperty
,org.refcodes.mixin.MetaDataAccessor<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<org.refcodes.mixin.EventMetaData,
,org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P>> org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.PayloadAccessor<P>
,org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,
,org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P>> org.refcodes.mixin.PayloadAccessor.PayloadMutator<P>
,org.refcodes.mixin.PayloadAccessor.PayloadProperty<P>
,org.refcodes.mixin.SourceAccessor<Object>
,org.refcodes.mixin.UniversalIdAccessor
,org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator
,org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
,org.refcodes.observer.ActionEvent
,org.refcodes.observer.Event
,org.refcodes.observer.GenericActionEvent<Enum<?>,
,Object> org.refcodes.observer.GenericActionMetaDataEvent<Enum<?>,
,org.refcodes.mixin.EventMetaData, Object> org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<Enum<?>,
,org.refcodes.mixin.EventMetaData, Object, org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P>> org.refcodes.observer.GenericActionPayloadEvent<Enum<?>,
,P, Object> org.refcodes.observer.GenericActionPayloadMetaDataEvent<Enum<?>,
,P, org.refcodes.mixin.EventMetaData, Object> org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<Enum<?>,
,P, org.refcodes.mixin.EventMetaData, Object, org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P>> org.refcodes.observer.GenericEvent<Object>
,org.refcodes.observer.GenericMetaDataEvent<org.refcodes.mixin.EventMetaData,
,Object> org.refcodes.observer.GenericPayloadEvent<P,
,Object> org.refcodes.observer.GenericPayloadMetaDataEvent<P,
,org.refcodes.mixin.EventMetaData, Object> org.refcodes.observer.MetaDataActionEvent
,org.refcodes.observer.MetaDataEvent
,org.refcodes.observer.PayloadActionEvent<P>
,org.refcodes.observer.PayloadEvent<P>
,org.refcodes.observer.PayloadMetaDataActionEvent<P>
,org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P>
,org.refcodes.observer.PayloadMetaDataEvent<P>
public class PayloadBusEventBuilderImpl<P>
extends org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl<P>
implements PayloadBusEvent.PayloadEventBuilder<P>
Intuitive Meta-Class for the
PayloadMetaDataActionEventBuilderImpl
as
used by the ApplicationBus
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.observer.AbstractMetaDataActionEvent
org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<A extends Object,
EM extends org.refcodes.mixin.EventMetaData, SRC extends Object, B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A, EM, SRC, B>> Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,
B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A, B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object> Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.ChannelAccessor
org.refcodes.mixin.ChannelAccessor.ChannelBuilder<B extends org.refcodes.mixin.ChannelAccessor.ChannelBuilder<B>>, org.refcodes.mixin.ChannelAccessor.ChannelMutator, org.refcodes.mixin.ChannelAccessor.ChannelProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.EventMetaData
org.refcodes.mixin.EventMetaData.EventMetaDataBuilder
Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionMetaDataEvent
org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A extends Object,
EM extends org.refcodes.mixin.EventMetaData, SRC extends Object, B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A, EM, SRC, B>> Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionPayloadMetaDataEvent
org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A extends Object,
P extends Object, EM extends org.refcodes.mixin.EventMetaData, SRC extends Object, B extends org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A, P, EM, SRC, B>> Nested classes/interfaces inherited from interface org.refcodes.mixin.GroupAccessor
org.refcodes.mixin.GroupAccessor.GroupBuilder<B extends org.refcodes.mixin.GroupAccessor.GroupBuilder<B>>, org.refcodes.mixin.GroupAccessor.GroupMutator, org.refcodes.mixin.GroupAccessor.GroupProperty
Nested classes/interfaces inherited from interface org.refcodes.mixin.MetaDataAccessor
org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD extends Object,
B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD, B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD extends Object>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD extends Object> Nested classes/interfaces inherited from interface org.refcodes.observer.MetaDataActionEvent
org.refcodes.observer.MetaDataActionEvent.ActionMetaDataEventBuilder
Nested classes/interfaces inherited from interface org.refcodes.mixin.PayloadAccessor
org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends Object,
B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P, B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends Object> Nested classes/interfaces inherited from interface org.refcodes.observer.PayloadMetaDataActionEvent
org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder<P extends Object>
Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
Nested classes/interfaces inherited from interface org.refcodes.mixin.UniversalIdAccessor
org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B extends org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B>>, org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator, org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
-
Field Summary
Fields inherited from class org.refcodes.observer.AbstractMetaDataActionEvent
_eventMetaData
Fields inherited from class org.refcodes.observer.AbstractActionEvent
_action
-
Constructor Summary
ConstructorDescriptionPayloadBusEventBuilderImpl
(Class<?> aPublisherType, Object aSource) Constructs an event with predefined values for the according properties retrieved from the caller's class.PayloadBusEventBuilderImpl
(Enum<?> aAction, Class<?> aPublisherType, Object aSource) Constructs an event with predefined values for the according properties retrieved from the caller's class.PayloadBusEventBuilderImpl
(Enum<?> aAction, Object aSource) Constructs an event with the given Meta-Data.PayloadBusEventBuilderImpl
(Enum<?> aAction, String aChannel, Object aSource) Constructs an event with predefined values for the according properties retrieved from the caller's class.PayloadBusEventBuilderImpl
(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, Object aSource) Constructs an event with the given values for the according properties.PayloadBusEventBuilderImpl
(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource) Constructs an event with the given Meta-Data.PayloadBusEventBuilderImpl
(Enum<?> aAction, P aPayload, Object aSource) Constructs an event with the given Meta-Data.PayloadBusEventBuilderImpl
(Enum<?> aAction, P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource) Constructs an event with the given Meta-Data.PayloadBusEventBuilderImpl
(Object aSource) Constructs an event with the given Meta-Data.PayloadBusEventBuilderImpl
(String aChannel, Object aSource) Constructs an event with predefined values for the according properties retrieved from the caller's class.PayloadBusEventBuilderImpl
(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, Object aSource) Constructs an event with the given values for the according properties.PayloadBusEventBuilderImpl
(org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource) Constructs an event with the given Meta-Data.PayloadBusEventBuilderImpl
(P aPayload, Object aSource) Constructs an event with the given Meta-Data.PayloadBusEventBuilderImpl
(P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource) Constructs an event with the given Meta-Data. -
Method Summary
Methods inherited from class org.refcodes.observer.PayloadMetaDataActionEventBuilderImpl
getMetaData, setAlias, setChannel, setGroup, setMetaData, setPublisherType, setUniversalId
Methods inherited from class org.refcodes.observer.AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder
getPayload, setPayload
Methods inherited from class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
getAlias, getChannel, getGroup, getPublisherType, getUniversalId, setAction
Methods inherited from class org.refcodes.observer.AbstractMetaDataActionEvent
toString
Methods inherited from class org.refcodes.observer.AbstractActionEvent
getAction
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.mixin.ActionAccessor
getAction
Methods inherited from interface org.refcodes.mixin.ActionAccessor.ActionMutator
setAction
Methods inherited from interface org.refcodes.mixin.ActionAccessor.ActionProperty
letAction
Methods inherited from interface org.refcodes.mixin.AliasAccessor
getAlias
Methods inherited from interface org.refcodes.mixin.AliasAccessor.AliasMutator
setAlias
Methods inherited from interface org.refcodes.mixin.AliasAccessor.AliasProperty
letAlias
Methods inherited from interface org.refcodes.mixin.ChannelAccessor
getChannel
Methods inherited from interface org.refcodes.mixin.ChannelAccessor.ChannelMutator
setChannel
Methods inherited from interface org.refcodes.mixin.ChannelAccessor.ChannelProperty
letChannel
Methods inherited from interface org.refcodes.mixin.EventMetaData
getPublisherType
Methods inherited from interface org.refcodes.mixin.EventMetaData.EventMetaDataBuilder
setPublisherType
Methods inherited from interface org.refcodes.mixin.GroupAccessor
getGroup
Methods inherited from interface org.refcodes.mixin.GroupAccessor.GroupMutator
setGroup
Methods inherited from interface org.refcodes.mixin.GroupAccessor.GroupProperty
letGroup
Methods inherited from interface org.refcodes.mixin.MetaDataAccessor
getMetaData
Methods inherited from interface org.refcodes.mixin.MetaDataAccessor.MetaDataMutator
setMetaData
Methods inherited from interface org.refcodes.mixin.MetaDataAccessor.MetaDataProperty
letMetaData
Methods inherited from interface org.refcodes.mixin.PayloadAccessor
getPayload, getPayloadOr
Methods inherited from interface org.refcodes.mixin.PayloadAccessor.PayloadMutator
setPayload
Methods inherited from interface org.refcodes.mixin.PayloadAccessor.PayloadProperty
letPayload
Methods inherited from interface org.refcodes.observer.PayloadMetaDataActionEvent.ActionPayloadMetaDataEventBuilder
withAction, withAlias, withChannel, withGroup, withMetaData, withPayload, withPublisherType, withUniversalId
Methods inherited from interface org.refcodes.mixin.SourceAccessor
getSource
Methods inherited from interface org.refcodes.mixin.UniversalIdAccessor
getUniversalId
Methods inherited from interface org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator
setUniversalId
Methods inherited from interface org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
letUniversalId
-
Constructor Details
-
PayloadBusEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aAction
- The action which this represents.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
public PayloadBusEventBuilderImpl(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, Object aSource) Constructs an event with the given values for the according properties.- Parameters:
aAction
- The action which this represents.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
public PayloadBusEventBuilderImpl(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource) Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which this represents.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which this represents.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
public PayloadBusEventBuilderImpl(Enum<?> aAction, P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource) Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which the event represents.aPayload
- The payload to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which the event represents.aPayload
- The payload to be carried by the event.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aChannel
- The channel name on which the event is receivable.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
public PayloadBusEventBuilderImpl(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, Object aSource) Constructs an event with the given values for the according properties.- Parameters:
aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with the given Meta-Data.- Parameters:
aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with the given Meta-Data.- Parameters:
aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
public PayloadBusEventBuilderImpl(P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource) Constructs an event with the given Meta-Data.- Parameters:
aPayload
- The payload to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.
-
PayloadBusEventBuilderImpl
Constructs an event with the given Meta-Data.- Parameters:
aPayload
- The payload to be carried by the event.aSource
- The source from which this event originated.
-