Class AbstractActionPayloadMetaDataEvent.AbstractActionPayloadMetaDataEventBuilder<A,P,EM extends EventMetaData,SRC,B extends GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,EM,SRC,B>>

    • Constructor Detail

      • AbstractActionPayloadMetaDataEventBuilder

        public AbstractActionPayloadMetaDataEventBuilder​(A aAction,
                                                         P aPayload,
                                                         EM aEventMetaData,
                                                         SRC 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.
      • AbstractActionPayloadMetaDataEventBuilder

        public AbstractActionPayloadMetaDataEventBuilder​(A aAction,
                                                         P aPayload,
                                                         SRC 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.
        aSource - The source from which this event originated.
      • AbstractActionPayloadMetaDataEventBuilder

        public AbstractActionPayloadMetaDataEventBuilder​(P aPayload,
                                                         EM aEventMetaData,
                                                         SRC 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.
      • AbstractActionPayloadMetaDataEventBuilder

        public AbstractActionPayloadMetaDataEventBuilder​(EM aEventMetaData,
                                                         SRC aSource)
        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.
      • AbstractActionPayloadMetaDataEventBuilder

        public AbstractActionPayloadMetaDataEventBuilder​(P aPayload,
                                                         SRC aSource)
        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.
    • Method Detail

      • getPayload

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

        public void setPayload​(P aPayload)
        Specified by:
        setPayload in interface org.refcodes.mixin.PayloadAccessor.PayloadMutator<A>