Interface CompatibilityLoader

All Superinterfaces:
ExtensionPoint

@Restricted(org.kohsuke.accmod.restrictions.Beta.class) public interface CompatibilityLoader extends ExtensionPoint
Allows plugins formerly defining DeclarativeAgentScript to tolerate old builds.
  • Method Details

    • loadGroovySource

      @CheckForNull URL loadGroovySource(String clazz)
      Parameters:
      clazz - a “filename”, actually a Groovy class FQN
      Returns:
      a URL to a *.groovy source file, or null to use default classpath
      See Also:
      • GroovyResourceLoader.loadGroovySource(java.lang.String)