# TemplateBasedScriptGenerator

interface TemplateBasedScriptGenerator : ScriptGenerator(source)

Interface for generating scripts with the provided details based on a provided template.

#### Since

2.4

## Functions

generateScript
Link copied to clipboard
abstract fun generateScript(details: JavaAppStartScriptGenerationDetails, destination: Writer)
Generate the script.
getTemplate
Link copied to clipboard
abstract fun getTemplate(): TextResource
Gets the template reader used for generating script.
setTemplate
Link copied to clipboard
abstract fun setTemplate(template: TextResource)
Sets the template text resource used for generating script.