public class SimpleScriptContent extends java.lang.Object implements ScriptContent
| Constructor and Description |
|---|
SimpleScriptContent(java.lang.String engineName,
java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
Returns content of the script (executable body).
|
java.util.Map<java.lang.String,java.lang.Object> |
getCustomContext()
Method which may return context parameters map with some additions related to current implementation of the
ScriptContent which will be passed later on to the script.
|
java.lang.String |
getEngineName()
Gets engine name.
|
public SimpleScriptContent(java.lang.String engineName,
java.lang.String content)
public java.lang.String getEngineName()
ScriptContentgetEngineName in interface ScriptContentpublic java.lang.String getContent()
ScriptContentgetContent in interface ScriptContentpublic java.util.Map<java.lang.String,java.lang.Object> getCustomContext()
ScriptContentgetCustomContext in interface ScriptContentCopyright © 2018 SAP SE. All Rights Reserved.