Package groovy.util

Interface ResourceConnector

  • All Known Implementing Classes:
    GroovyScriptEngine

    public interface ResourceConnector
    Base interface for customizing where resources can be found for the GroovyScriptEngine.
    • Method Detail

      • getResourceConnection

        java.net.URLConnection getResourceConnection​(java.lang.String name)
                                              throws ResourceException
        Retrieve a URLConnection to a script referenced by name.
        Parameters:
        name -
        Throws:
        ResourceException