public class StringTemplateScript extends AbstractScript
These are not general purpose scripts, but instead return Strings generated by applying the variables to the template.
Copyright 2007 Partner Software, Inc.
| Constructor and Description |
|---|
StringTemplateScript(VfsFile file)
Creates a new StringTemplate script from the given file.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
reloadImp()
Subclasses should implement this method to do any maintenance associated
with changes in the source file.
|
protected java.lang.Object |
runScriptImp(Naming<java.lang.Object> variables)
Subclasses should implement this method with their actual script-running
implementation.
|
getFile, getName, getScriptLog, getThrown, getVariable, getVariables, isModified, parse, run, runScript, runThreaded, setThrown, setVariable, setVariables, toStringpublic StringTemplateScript(VfsFile file)
protected void reloadImp()
throws java.lang.Exception
AbstractScriptreloadImp in class AbstractScriptjava.lang.Exceptionprotected java.lang.Object runScriptImp(Naming<java.lang.Object> variables) throws java.lang.Exception
AbstractScriptrunScriptImp in class AbstractScriptjava.lang.Exception