public class ResourceScriptContent extends java.lang.Object implements ScriptContent
org.springframework.core.io.Resource| Constructor and Description |
|---|
ResourceScriptContent(Resource resource) |
| 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 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.