Class ScriptFactory
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.scripting.ScriptFactory
 
- 
 public class ScriptFactory extends java.lang.ObjectA script factory is responsible for creating a ExecutableScriptinstance. Users may customize (subclass) this class in order to customize script creation. For instance, some users may choose to pre-process scripts before they are created.- Author:
- Daniel Meyer
 
- 
- 
Constructor SummaryConstructors Constructor Description ScriptFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutableScriptcreateScriptFromResource(java.lang.String language, java.lang.String resource)ExecutableScriptcreateScriptFromResource(java.lang.String language, Expression resourceExpression)ExecutableScriptcreateScriptFromSource(java.lang.String language, java.lang.String source)ExecutableScriptcreateScriptFromSource(java.lang.String language, Expression sourceExpression)
 
- 
- 
- 
Method Detail- 
createScriptFromResourcepublic ExecutableScript createScriptFromResource(java.lang.String language, java.lang.String resource) 
 - 
createScriptFromResourcepublic ExecutableScript createScriptFromResource(java.lang.String language, Expression resourceExpression) 
 - 
createScriptFromSourcepublic ExecutableScript createScriptFromSource(java.lang.String language, java.lang.String source) 
 - 
createScriptFromSourcepublic ExecutableScript createScriptFromSource(java.lang.String language, Expression sourceExpression) 
 
- 
 
-