Class RemoteScriptsRepository

  • All Implemented Interfaces:
    ScriptsRepository

    public class RemoteScriptsRepository
    extends AbstractScriptsRepository
    This repository does lookup for scripts in the repote location.

    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 Detail

      • RemoteScriptsRepository

        public RemoteScriptsRepository()
    • Method Detail

      • lookupScript

        public ScriptContent lookupScript​(java.lang.String protocol,
                                          java.lang.String path)
        Description copied from interface: ScriptsRepository
        Lookup script in the repository by protocol and path.
        Parameters:
        protocol - native protocol for the given repository.
        path - path of the Script in the given repository.
        Returns:
        ScriptContent object