Interface TemplateBasedScriptGenerator
-
- All Superinterfaces:
ScriptGenerator
public interface TemplateBasedScriptGenerator extends ScriptGenerator
Interface for generating scripts with the provided details based on a provided template.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextResourcegetTemplate()Gets the template reader used for generating script.voidsetTemplate(TextResource template)Sets the template text resource used for generating script.-
Methods inherited from interface org.gradle.jvm.application.scripts.ScriptGenerator
generateScript
-
-
-
-
Method Detail
-
setTemplate
void setTemplate(TextResource template)
Sets the template text resource used for generating script.- Parameters:
template- Template text resource
-
getTemplate
TextResource getTemplate()
Gets the template reader used for generating script.- Returns:
- Template reader
-
-