public interface DynamicLanguagesFacade
ScriptData| Modifier and Type | Method and Description |
|---|---|
ScriptData |
deleteScript(String code)
Deletes script with given id.
|
Map<String,Object> |
executeScript(String engineName,
String script,
boolean commit)
Executes given script.
|
List<ScriptModel> |
findScriptsForEngine(String name)
Returns list of scripts for given scripting engine.
|
Set<ScriptEngineType> |
getRegisteredEngineTypes()
Returns the list of registered scripting engines.
|
ScriptData |
loadScript(String code)
Loads script with given code.
|
ScriptData |
saveScript(String code,
String content,
String engineName)
Saves script with given code and content.
|
ScriptData saveScript(String code, String content, String engineName)
code - the script's idcontent - the body of the script to be savedengineName - the scripting engine name used to interpret scriptScriptData loadScript(String code)
code - the script's idMap<String,Object> executeScript(String engineName, String script, boolean commit)
engineName - the scripting engine name used to execute scriptscript - the body of the script to be executedcommit - if set to true the outermost transaction will be committed otherwise rolled backSet<ScriptEngineType> getRegisteredEngineTypes()
List<ScriptModel> findScriptsForEngine(String name)
name - the name of scripting engineScriptData deleteScript(String code)
code - the script's idCopyright © 2017 SAP SE. All Rights Reserved.