Interface IScriptEngineBuilder
public interface IScriptEngineBuilder
- Since:
- 3.22.1
-
Method Summary
-
Method Details
-
byName
- Parameters:
engineName
- must be one of the supported engine names returned byIScriptEngineService.getEngineNames()
-
byScriptName
- Parameters:
scriptName
- must contain one of the supported file extensions. SeeIScriptEngineService
for supported extensions.
-
create
- Returns:
- new instance of ScriptEngine
- Throws:
IllegalStateException
- if neither engineName nor scriptName were specified.UnsupportedScriptEngineException
- if the engineName or scriptName is not supported.
-