Interface ScriptingLanguageExecutor

All Known Implementing Classes:
DefaultScriptingLanguageExecutor

public interface ScriptingLanguageExecutor
Interface which provides script execution functionality for Scripting Languages.
  • Method Summary

    Modifier and Type
    Method
    Description
    executeScript(String engineName, String script, boolean commit)
    Execute script with use of provided ScriptingLanguageExecutor shell object.
  • Method Details

    • executeScript

      Map<String,Object> executeScript(String engineName, String script, boolean commit)
      Execute script with use of provided ScriptingLanguageExecutor shell object.
      Parameters:
      engineName - the name of scripting engine used to evaluate script
      script - 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