Class AbstractPayloadMetaDataActionEvent<A,​P,​EM extends org.refcodes.mixin.EventMetaData,​SRC>

    • Constructor Detail

      • AbstractPayloadMetaDataActionEvent

        public AbstractPayloadMetaDataActionEvent​(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.
      • AbstractPayloadMetaDataActionEvent

        public AbstractPayloadMetaDataActionEvent​(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.
      • AbstractPayloadMetaDataActionEvent

        public AbstractPayloadMetaDataActionEvent​(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.
      • AbstractPayloadMetaDataActionEvent

        public AbstractPayloadMetaDataActionEvent​(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>