Interface ScriptExecutor
- All Known Implementing Classes:
- AbstractScriptExecutor,- DefaultScriptExecutor,- PolyglotScriptExecutor,- PythonScriptExecutor,- RubyScriptExecutor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A script evaluation abstraction against 
ScriptSource and optional binding variables.- Since:
- 2.1
- Author:
- David Turanski, Artem Bilan
- 
Method SummaryModifier and TypeMethodDescriptiondefault ObjectexecuteScript(ScriptSource scriptSource) Execute a script from the providedScriptSourceexecuteScript(ScriptSource scriptSource, Map<String, Object> variables) Execute a script from the providedScriptSourcewith an optional bindingvariables.
- 
Method Details- 
executeScriptExecute a script from the providedScriptSourcewith an optional bindingvariables.- Parameters:
- scriptSource- The script source.
- variables- The variables.
- Returns:
- The result of the execution.
 
- 
executeScriptExecute a script from the providedScriptSource- Parameters:
- scriptSource- The script source.
- Returns:
- The result of the execution.
 
 
-