Class AbstractActionPayloadEvent<A,P,SRC>

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor

        org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.PayloadAccessor

        org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends java.lang.Object,B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends java.lang.Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractActionPayloadEvent​(A aAction, P aPayload, SRC aSource)
      Constructs an event with the given Meta-Data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      P getPayload​()
      • Methods inherited from interface org.refcodes.mixin.ActionAccessor

        getAction
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.refcodes.mixin.SourceAccessor

        getSource
    • Field Detail

      • _payload

        protected P _payload
    • Constructor Detail

      • AbstractActionPayloadEvent

        public AbstractActionPayloadEvent​(A aAction,
                                          P aPayload,
                                          SRC aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which the GenericActionEvent represents.
        aPayload - The payload to be carried by the event.
        aSource - The source from which this event originated.
    • Method Detail

      • getPayload

        public P getPayload​()
        Specified by:
        getPayload in interface org.refcodes.mixin.PayloadAccessor<A>