Class ScriptFactory
- java.lang.Object
-
- org.camunda.bpm.engine.impl.scripting.ScriptFactory
-
public class ScriptFactory extends Object
A 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 Summary
Constructors Constructor Description ScriptFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutableScriptcreateScriptFromResource(String language, String resource)ExecutableScriptcreateScriptFromResource(String language, Expression resourceExpression)ExecutableScriptcreateScriptFromSource(String language, String source)ExecutableScriptcreateScriptFromSource(String language, Expression sourceExpression)
-
-
-
Method Detail
-
createScriptFromResource
public ExecutableScript createScriptFromResource(String language, String resource)
-
createScriptFromResource
public ExecutableScript createScriptFromResource(String language, Expression resourceExpression)
-
createScriptFromSource
public ExecutableScript createScriptFromSource(String language, String source)
-
createScriptFromSource
public ExecutableScript createScriptFromSource(String language, Expression sourceExpression)
-
-