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.org.refcodes.mixin.ActionAccessor<A>
, org.refcodes.mixin.PayloadAccessor<P>
, org.refcodes.mixin.SourceAccessor<SRC>
, GenericActionEvent<A,SRC>
, GenericActionPayloadEvent<A,P,SRC>
, GenericEvent<SRC>
, GenericPayloadEvent<P,SRC>
ActionPayloadEventImpl
public abstract class AbstractActionPayloadEvent<A,P,SRC> extends AbstractActionEvent<A,SRC> implements GenericActionPayloadEvent<A,P,SRC>
GenericActionPayloadEvent
.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>
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>
Modifier and Type | Field | Description |
---|---|---|
protected P |
_payload |
_action
Constructor | Description |
---|---|
AbstractActionPayloadEvent(A aAction,
P aPayload,
SRC aSource) |
Constructs an event with the given Meta-Data.
|
Modifier and Type | Method | 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.