public interface ScriptEngine
Modifier and Type | Method and Description |
---|---|
void |
checkSyntax(String scriptSource)
Allows to check the syntax of the given script source code.
|
Executable |
getExecutable(String scriptSource)
Creates an executable from the given script source code.
|
String |
getScriptEngineName()
Provides the name of this script engine.
|
void |
setClassLoader(ClassLoader classLoader)
Defines the class loader to be used on executing the script.
|
void setClassLoader(ClassLoader classLoader)
classLoader
- The class loader to be used.String getScriptEngineName()
Executable getExecutable(String scriptSource) throws de.espirit.firstspirit.access.script.SyntaxError
scriptSource
- The source code.SyntaxError
- if the given code contains syntactical errors.void checkSyntax(String scriptSource) throws de.espirit.firstspirit.access.script.SyntaxError
scriptSource
- The script's source code.SyntaxError
- if the given code contains syntactical errors.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210