Class JexlScriptEngine.JexlCompiledScript
java.lang.Object
javax.script.CompiledScript
org.apache.commons.jexl3.scripting.JexlScriptEngine.JexlCompiledScript
- Enclosing class:
JexlScriptEngine
Wrapper to help convert a JEXL JexlScript into a JSR-223 CompiledScript.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JexlScript
The underlying JEXL expression instance. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.script.CompiledScript
eval, eval
-
Field Details
-
script
The underlying JEXL expression instance.
-
-
Constructor Details
-
JexlCompiledScript
JexlCompiledScript(JexlScript theScript) Creates an instance.- Parameters:
theScript
- to wrap
-
-
Method Details
-
eval
- Specified by:
eval
in classCompiledScript
- Throws:
ScriptException
-
getEngine
- Specified by:
getEngine
in classCompiledScript
-
toString
-