Interface IScriptEngineService


public interface IScriptEngineService
Since:
3.22.1 For information about the scripting engines, see "Polarion Scripting Guide & Examples" in the Polarion SDK (also available on Support Center). Language version can be found by calling (ScriptEngine.getFactory() and ScriptEngineFactory.getLanguageVersion(). 100% backward compatibility cannot be assured.
  • Field Details

    • GROOVY_ENGINE_NAME

      static final String GROOVY_ENGINE_NAME
      This is a constant for the Groovy engine. The script filename extension for Groovy is "groovy".
      See Also:
    • JS_ENGINE_NAME

      static final String JS_ENGINE_NAME
      This is a constant for the JavaScript engine. The script filename extension for JavaScript is "js".
      See Also:
  • Method Details

    • getEngineNames

      @NotNull List<String> getEngineNames()
      Returns list of supported scripting engine names. For available values see *_ENGINE_NAME constants in this class.
    • engine

      @NotNull IScriptEngineBuilder engine()
      Returns builder for script engine.