Package org.camunda.templateengines
Class FreeMarkerCompiledScript
java.lang.Object
javax.script.CompiledScript
org.camunda.templateengines.FreeMarkerCompiledScript
Wraps a 
Freemaker template as a CompiledScript to
 cache the used template.- Author:
 - Sebastian Menski
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ScriptEngineprotected final freemarker.template.Template - 
Constructor Summary
ConstructorsConstructorDescriptionFreeMarkerCompiledScript(ScriptEngine scriptEngine, Reader script, freemarker.template.Configuration configuration) FreeMarkerCompiledScript(ScriptEngine scriptEngine, String script, freemarker.template.Configuration configuration) FreeMarkerCompiledScript(ScriptEngine scriptEngine, String filename, Reader script, freemarker.template.Configuration configuration) FreeMarkerCompiledScript(ScriptEngine scriptEngine, String filename, String script, freemarker.template.Configuration configuration)  - 
Method Summary
Methods inherited from class javax.script.CompiledScript
eval, eval 
- 
Field Details
- 
scriptEngine
 - 
template
protected final freemarker.template.Template template 
 - 
 - 
Constructor Details
- 
FreeMarkerCompiledScript
public FreeMarkerCompiledScript(ScriptEngine scriptEngine, String script, freemarker.template.Configuration configuration) throws ScriptException - Throws:
 ScriptException
 - 
FreeMarkerCompiledScript
public FreeMarkerCompiledScript(ScriptEngine scriptEngine, Reader script, freemarker.template.Configuration configuration) throws ScriptException - Throws:
 ScriptException
 - 
FreeMarkerCompiledScript
public FreeMarkerCompiledScript(ScriptEngine scriptEngine, String filename, String script, freemarker.template.Configuration configuration) throws ScriptException - Throws:
 ScriptException
 - 
FreeMarkerCompiledScript
public FreeMarkerCompiledScript(ScriptEngine scriptEngine, String filename, Reader script, freemarker.template.Configuration configuration) throws ScriptException - Throws:
 ScriptException
 
 - 
 - 
Method Details
- 
eval
- Specified by:
 evalin classCompiledScript- Throws:
 ScriptException
 - 
getEngine
- Specified by:
 getEnginein classCompiledScript
 
 -