Class JuelScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.flowable.engine.impl.scripting.JuelScriptEngine
- All Implemented Interfaces:
Compilable,ScriptEngine
ScriptEngine that used JUEL for script evaluation and compilation (JSR-223).
Uses EL 1.1 if available, to resolve expressions. Otherwise it reverts to EL 1.0, using
ExpressionFactoryResolver.- Author:
- Frederik Heremans
-
Field Summary
Fields inherited from class javax.script.AbstractScriptEngine
contextFields inherited from interface javax.script.ScriptEngine
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneval(Reader reader, ScriptContext scriptContext) eval(String script, ScriptContext scriptContext) static voidimportFunctions(ScriptContext ctx, String namespace, Object obj) static voidMethods inherited from class javax.script.AbstractScriptEngine
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext
-
Constructor Details
-
JuelScriptEngine
-
JuelScriptEngine
public JuelScriptEngine()
-
-
Method Details
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
compile
- Specified by:
compilein interfaceCompilable- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
eval
- Specified by:
evalin interfaceScriptEngine- Throws:
ScriptException
-
getFactory
- Specified by:
getFactoryin interfaceScriptEngine
-
createBindings
- Specified by:
createBindingsin interfaceScriptEngine
-
print
-
importFunctions
-