Interface PayloadAccessor<P>

  • Type Parameters:
    P - The type of the payload to be carried.
    All Known Subinterfaces:
    PayloadAccessor.PayloadProperty<P>


    public interface PayloadAccessor<P>
    Provides an accessor for a payload property.
    • Method Detail

      • getPayload

        P getPayload​()
        Retrieves the payload from the payload property.
        Returns:
        The payload stored by the payload property.