Interface TypedPayload

  • All Known Implementing Classes:
    CatalogEventPayload

    public interface TypedPayload
    Interface for associating a type field with a given payload. This type field is not designed to be included as part of the payload, but rather it is used when constructing the Event instance the payload is contained within.
    • Method Detail

      • getEventType

        default java.lang.String getEventType()
        Returns the type of event the payload represents.
        Returns:
        event type
      • getPayloadType

        default java.lang.String getPayloadType()
        Returns the type of the payload.
        Returns:
        payload type