org.kohsuke.stapler.jelly.groovy
Class GroovyClassTearOff

java.lang.Object
  extended by org.kohsuke.stapler.CachingScriptLoader<S,E>
      extended by org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>
          extended by org.kohsuke.stapler.jelly.groovy.GroovyClassTearOff

public final class GroovyClassTearOff
extends org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,IOException>

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.kohsuke.stapler.AbstractTearOff
classLoader, owner
 
Constructor Summary
GroovyClassTearOff(org.kohsuke.stapler.MetaClass owner)
           
 
Method Summary
 javax.servlet.RequestDispatcher createDispatcher(Object it, String viewName)
          Creates a RequestDispatcher that forwards to the jelly view, if available.
protected  String getDefaultScriptExtension()
           
 GroovierJellyScript parseScript(URL res)
           
 boolean serveIndexGroovy(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node)
           
 
Methods inherited from class org.kohsuke.stapler.AbstractTearOff
getResource, loadScript, resolveScript
 
Methods inherited from class org.kohsuke.stapler.CachingScriptLoader
clearScripts, findScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyClassTearOff

public GroovyClassTearOff(org.kohsuke.stapler.MetaClass owner)
Method Detail

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 © 2012. All Rights Reserved.