@API(status=INTERNAL, since="5.1") public class ScriptExecutionManager extends Object
Constructor and Description |
---|
ScriptExecutionManager() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Script script,
Bindings bindings)
Evaluate the script using the given bindings.
|
public Object evaluate(Script script, Bindings bindings) throws ScriptException
script
- the script to evaluatebindings
- the context-aware bindingsScriptException
- if an error occurs in script.Copyright © 2020. All rights reserved.