public abstract class AbstractRubyTearOff extends org.kohsuke.stapler.AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,IOException>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRubyTearOff(org.kohsuke.stapler.MetaClass owner) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.RequestDispatcher |
createDispatcher(Object it,
String viewName)
Creates a
RequestDispatcher that forwards to the jelly view, if available. |
protected abstract String |
getDefaultScriptExtension()
Defines the file extension, like ".erb", that designates this kind of view type.
|
org.apache.commons.jelly.Script |
parseScript(URL res) |
protected AbstractRubyTearOff(org.kohsuke.stapler.MetaClass owner)
protected abstract String getDefaultScriptExtension()
getDefaultScriptExtension in class org.kohsuke.stapler.AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,IOException>public org.apache.commons.jelly.Script parseScript(URL res) throws IOException
parseScript in class org.kohsuke.stapler.AbstractTearOff<JRubyClassLoaderTearOff,org.apache.commons.jelly.Script,IOException>IOExceptionpublic javax.servlet.RequestDispatcher createDispatcher(Object it, String viewName) throws IOException
RequestDispatcher that forwards to the jelly view, if available.IOExceptionCopyright © 2013. All rights reserved.