Interface ScriptsRepository

    • Method Detail

      • lookupScript

        ScriptContent lookupScript​(java.lang.String protocol,
                                   java.lang.String path)
        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
        Throws:
        ScriptNotFoundException - when Script cannot be located in the repository.
        ScriptURIException - when problem with protocol or path occurs.
      • getSupportedProtocols

        java.util.Collection<java.lang.String> getSupportedProtocols()
        Provides all supported protocols. These are used by ScriptRepositoriesRegistry to locate this repository .