A
- The type of the action stored in the event.P
- The type of the payload to be carried.SRC
- The type of the source in question.public abstract class AbstractActionPayloadEvent<A,P,SRC> extends AbstractActionEvent<A,SRC> implements GenericActionPayloadEvent<A,P,SRC>
GenericActionPayloadEvent
.org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P>
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC>
org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A>, org.refcodes.mixin.ActionAccessor.ActionProperty<A>
Modifier and Type | Field and Description |
---|---|
protected P |
_payload |
_action
Constructor and Description |
---|
AbstractActionPayloadEvent(A aAction,
P aPayload,
SRC aSource)
Constructs an event with the given Meta-Data.
|
Modifier and Type | Method and Description |
---|---|
P |
getPayload() |
getAction
getSource
protected P _payload
public AbstractActionPayloadEvent(A aAction, P aPayload, SRC aSource)
aAction
- The action which the GenericActionEvent
represents.aPayload
- The payload to be carried by the event.aSource
- The source from which this event originated.Copyright © 2018. All rights reserved.