Interface RenderUiTemplateResponse.Builder

    • Method Detail

      • renderedContent

        RenderUiTemplateResponse.Builder renderedContent​(String renderedContent)

        A Liquid template that renders the HTML for the worker UI.

        Parameters:
        renderedContent - A Liquid template that renders the HTML for the worker UI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        RenderUiTemplateResponse.Builder errors​(Collection<RenderingError> errors)

        A list of one or more RenderingError objects if any were encountered while rendering the template. If there were no errors, the list is empty.

        Parameters:
        errors - A list of one or more RenderingError objects if any were encountered while rendering the template. If there were no errors, the list is empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        RenderUiTemplateResponse.Builder errors​(RenderingError... errors)

        A list of one or more RenderingError objects if any were encountered while rendering the template. If there were no errors, the list is empty.

        Parameters:
        errors - A list of one or more RenderingError objects if any were encountered while rendering the template. If there were no errors, the list is empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.