* A Liquid template that renders the HTML for the worker UI. *
*/ private String renderedContent; /** *
* 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.
*
* A Liquid template that renders the HTML for the worker UI. *
* * @param renderedContent * A Liquid template that renders the HTML for the worker UI. */ public void setRenderedContent(String renderedContent) { this.renderedContent = renderedContent; } /** ** A Liquid template that renders the HTML for the worker UI. *
* * @return A Liquid template that renders the HTML for the worker UI. */ public String getRenderedContent() { return this.renderedContent; } /** ** A Liquid template that renders the HTML for the worker UI. *
* * @param renderedContent * A Liquid template that renders the HTML for the worker UI. * @return Returns a reference to this object so that method calls can be chained together. */ public RenderUiTemplateResult withRenderedContent(String renderedContent) { setRenderedContent(renderedContent); return this; } /** *
* 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.
*
RenderingError
objects if any were encountered while rendering the
* template. If there were no errors, the list is empty.
*/
public java.util.List
* 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.
*
RenderingError
objects if any were encountered while rendering the
* template. If there were no errors, the list is empty.
*/
public void setErrors(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the * existing values. *
* * @param errors * A list of one or moreRenderingError
objects if any were encountered while rendering the
* template. If there were no errors, the list is empty.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RenderUiTemplateResult withErrors(RenderingError... errors) {
if (this.errors == null) {
setErrors(new java.util.ArrayList
* 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.
*
RenderingError
objects if any were encountered while rendering the
* template. If there were no errors, the list is empty.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RenderUiTemplateResult withErrors(java.util.Collection