org.kohsuke.stapler.jelly.groovy
Class GroovyClassTearOff
java.lang.Object
org.kohsuke.stapler.CachingScriptLoader<S,E>
org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
org.kohsuke.stapler.jelly.groovy.GroovyClassTearOff
public final class GroovyClassTearOff
- extends org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
- Author:
- Kohsuke Kawaguchi
Fields inherited from class org.kohsuke.stapler.AbstractTearOff |
classLoader, owner |
Methods inherited from class org.kohsuke.stapler.AbstractTearOff |
getResource, loadScript, resolveScript |
Methods inherited from class org.kohsuke.stapler.CachingScriptLoader |
clearScripts, findResource, findScript |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyClassTearOff
public GroovyClassTearOff(org.kohsuke.stapler.MetaClass owner)
getDefaultScriptExtension
protected String getDefaultScriptExtension()
- Specified by:
getDefaultScriptExtension
in class org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
parseScript
public GroovierJellyScript parseScript(URL res)
throws IOException
- Specified by:
parseScript
in class org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
- Throws:
IOException
serveIndexGroovy
public boolean serveIndexGroovy(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
Object node)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
createDispatcher
public javax.servlet.RequestDispatcher createDispatcher(Object it,
String viewName)
throws IOException
- Creates a
RequestDispatcher
that forwards to the jelly view, if available.
- Throws:
IOException
Copyright © 2011. All Rights Reserved.