copy

fun copy(name: String = this.name): TemplateProcessor

Creates a copy of this template processor with the same injected properties.

Return

a new TemplateProcessor with the same injections, and the new template name

Parameters

name

template name for the new processor; defaults to this processor's name