Interface PayloadInfoBuilderContext


@ProviderType public interface PayloadInfoBuilderContext
PayloadInfoBuilderContext provides the necessary contextual information to the PayloadInfoBuilder for it to be able to do its job.
  • Method Details

    • createPayloadInfo

      PayloadInfo createPayloadInfo()
      Instanciate a PayloadInfo.
      Returns:
      An empty PayloadInfo
    • getInitiatorHint

      String getInitiatorHint()
      Return the initiator of the call into the PayloadInfoBuilder.
      Returns:
      The initiator.
      See Also:
    • setInitiatorHint

      void setInitiatorHint(String initiatorHint)
      Specify who initiated the call into the PayloadInfoBuilder.
      Parameters:
      initiatorHint - The initiator
      See Also:
    • getInboxItem

      InboxItem getInboxItem()
      Return the InboxItem to get the PayloadInfo for.
      Returns:
      The InboxItem
    • setInboxItem

      void setInboxItem(InboxItem inboxItem)
      Set the InboxItem to get the PayloadInfo for.
      Parameters:
      inboxItem - the inbox item
    • getResourceResolver

      ResourceResolver getResourceResolver()
      The ResourceResolver available for use by the PayloadInfoBuilder.
      Returns:
      The ResourceResolver
    • setResourceResolver

      void setResourceResolver(ResourceResolver resolver)
      Set the ResourceResolver to be used by the PayloadInfoBuilder.
      Parameters:
      resolver - The resolver
    • getPayloadPath

      String getPayloadPath()
      The payload path to use if there is no InboxItem.
      Returns:
      The payload path
    • setPayloadPath

      void setPayloadPath(String payloadPath)
      Set the payload path to use when there is no InboxItem.
      Parameters:
      payloadPath - The payload path