Package de.hybris.platform.hac.scripting
Interface ScriptingLanguageExecutor
- All Known Implementing Classes:
DefaultScriptingLanguageExecutor
public interface ScriptingLanguageExecutor
Interface which provides script execution functionality for Scripting Languages.
-
Method Summary
-
Method Details
-
executeScript
Execute script with use of providedScriptingLanguageExecutorshell object.- Parameters:
engineName- the name of scripting engine used to evaluate scriptscript- the script body- Returns:
- the resulting map which contains following predefined key/value pairs:
- stacktraceText - contains possible stacktrace text when script execution has failed
- outputText - contains possible standard output of the script execution
- executionResult - contains possible script execution result
-