org.kohsuke.stapler.jelly.groovy
Class GroovyClassTearOff
java.lang.Object
org.kohsuke.stapler.CachingScriptLoader<S,E>
org.kohsuke.stapler.AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
org.kohsuke.stapler.jelly.groovy.GroovyClassTearOff
public final class GroovyClassTearOff
- extends AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyClassTearOff
public GroovyClassTearOff(MetaClass owner)
getDefaultScriptExtension
protected java.lang.String getDefaultScriptExtension()
- Description copied from class:
AbstractTearOff
- Default file extension of this kind of scripts, such as ".jelly"
- Specified by:
getDefaultScriptExtension
in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
parseScript
public GroovierJellyScript parseScript(java.net.URL res)
throws java.io.IOException
- Description copied from class:
AbstractTearOff
- Compiles a script into the compiled form.
- Specified by:
parseScript
in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
- Throws:
java.io.IOException
serveIndexGroovy
public boolean serveIndexGroovy(StaplerRequest req,
StaplerResponse rsp,
java.lang.Object node)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
createDispatcher
public javax.servlet.RequestDispatcher createDispatcher(java.lang.Object it,
java.lang.String viewName)
throws java.io.IOException
- Creates a
RequestDispatcher
that forwards to the jelly view, if available.
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.