- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- org.refcodes.observer.AbstractPayloadEvent<P,Object>
-
- org.refcodes.observer.PayloadEventImpl<P>
-
- Type Parameters:
P
- The type of the payload to be carried.
- All Implemented Interfaces:
org.refcodes.mixin.PayloadAccessor<P>
,org.refcodes.mixin.SourceAccessor<Object>
,GenericEvent<Object>
,GenericPayloadEvent<P,Object>
,PayloadEvent<P>
public class PayloadEventImpl<P> extends AbstractPayloadEvent<P,Object> implements PayloadEvent<P>
Basic implementation of thePayloadEvent
interface.
-
-
Nested Class Summary
-
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>
-
-
Constructor Summary
Constructors Constructor Description PayloadEventImpl(P aPayload, Object aSource)
Constructs an event with the given source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.refcodes.observer.AbstractPayloadEvent
getPayload
-
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
-
-