Renders a Velocity template to HTML and writes the result to the pipeline output as the terminal response content. The template's data model is given the pipeline itself, the current website, and the arguments passed into this step, so it can render a summary or report of what the pipeline did. Output is buffered internally during exec and only copied to the pipeline's output stream once the pipeline finishes, with the result content type set to text/html.

Implements: PipelineStep


Properties

PropertyReturnsDescription
descriptionStringHuman-readable summary of this step, shown to administrators managing the pipeline: that it renders a Velocity template to HTML and writes it to the pipeline output.
nextPipelineStepThe single step that follows this one in the pipeline, or null if none has been configured.
nextStepPipelineStepThe single step that follows this one in the pipeline, or null if none has been configured. Equivalent to getNext.
templateStringThe path of the Velocity template rendered by this step.

Methods

getDescription()

Returns: String

Human-readable summary of this step, shown to administrators managing the pipeline: that it renders a Velocity template to HTML and writes it to the pipeline output.

getNext()

Returns: PipelineStep

The single step that follows this one in the pipeline, or null if none has been configured.

getNextStep()

Returns: PipelineStep

The single step that follows this one in the pipeline, or null if none has been configured. Equivalent to getNext.

getTemplate()

Returns: String

The path of the Velocity template rendered by this step.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.