public final class GroovyClassTearOff extends AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>
classLoader, owner| Constructor and Description |
|---|
GroovyClassTearOff(MetaClass owner) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.RequestDispatcher |
createDispatcher(java.lang.Object it,
java.lang.String viewName)
Creates a
RequestDispatcher that forwards to the jelly view, if available. |
protected java.lang.String |
getDefaultScriptExtension()
Default file extension of this kind of scripts, such as ".jelly"
|
GroovierJellyScript |
parseScript(java.net.URL res)
Compiles a script into the compiled form.
|
boolean |
serveIndexGroovy(StaplerRequest req,
StaplerResponse rsp,
java.lang.Object node) |
getResource, loadScript, resolveScriptclearScripts, findScriptpublic GroovyClassTearOff(MetaClass owner)
protected java.lang.String getDefaultScriptExtension()
AbstractTearOffgetDefaultScriptExtension in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>public GroovierJellyScript parseScript(java.net.URL res) throws java.io.IOException
AbstractTearOffparseScript in class AbstractTearOff<GroovyClassLoaderTearOff,GroovierJellyScript,java.io.IOException>java.io.IOExceptionpublic boolean serveIndexGroovy(StaplerRequest req, StaplerResponse rsp, java.lang.Object node) throws java.io.IOException, javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletExceptionpublic javax.servlet.RequestDispatcher createDispatcher(java.lang.Object it,
java.lang.String viewName)
throws java.io.IOException
RequestDispatcher that forwards to the jelly view, if available.java.io.IOExceptionCopyright © 2013. All Rights Reserved.