public class RemoteScriptsRepository extends AbstractScriptsRepository
The format of URI for script:
http://server.com/path/to/script.groovy https://server.com/path/to/script.groovy ftp://server.com/path/to/script.js
Any scripts which are intended to be used by this repository must have proper file extension according to the Script Type.
| Constructor and Description |
|---|
RemoteScriptsRepository() |
| Modifier and Type | Method and Description |
|---|---|
ScriptContent |
lookupScript(String protocol,
String path)
Lookup script in the repository by protocol and path.
|
getSupportedProtocols, setSupportedProtocolspublic ScriptContent lookupScript(String protocol, String path)
ScriptsRepositoryprotocol - native protocol for the given repository.path - path of the Script in the given repository.Copyright © 2017 SAP SE. All Rights Reserved.