org.kohsuke.stapler.jelly.jruby
Class JRubyFacet
java.lang.Object
org.kohsuke.stapler.Facet
org.kohsuke.stapler.jelly.jruby.JRubyFacet
- All Implemented Interfaces:
- org.kohsuke.stapler.jelly.JellyCompatibleFacet
@MetaInfServices(value=org.kohsuke.stapler.Facet.class)
public class JRubyFacet
- extends org.kohsuke.stapler.Facet
- implements org.kohsuke.stapler.jelly.JellyCompatibleFacet
Facet
that adds Ruby-based view technologies.
- Author:
- Kohsuke Kawaguchi, Hiroshi Nakamura
Fields inherited from class org.kohsuke.stapler.Facet |
LOGGER |
Methods inherited from class org.kohsuke.stapler.Facet |
discover, discoverExtensions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRubyFacet
public JRubyFacet()
parseScript
public org.apache.commons.jelly.Script parseScript(URL template)
throws IOException
- Throws:
IOException
getClassInfo
public JRubyClassInfo getClassInfo(org.jruby.RubyClass r)
buildViewDispatchers
public void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner,
List<org.kohsuke.stapler.Dispatcher> dispatchers)
- Specified by:
buildViewDispatchers
in class org.kohsuke.stapler.Facet
getClassTearOffTypes
public Collection<Class<? extends AbstractRubyTearOff>> getClassTearOffTypes()
- Specified by:
getClassTearOffTypes
in interface org.kohsuke.stapler.jelly.JellyCompatibleFacet
getScriptExtensions
public Collection<String> getScriptExtensions()
- Specified by:
getScriptExtensions
in interface org.kohsuke.stapler.jelly.JellyCompatibleFacet
createRequestDispatcher
public javax.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request,
Class type,
Object it,
String viewName)
throws IOException
- Specified by:
createRequestDispatcher
in class org.kohsuke.stapler.Facet
- Throws:
IOException
handleIndexRequest
public boolean handleIndexRequest(org.kohsuke.stapler.RequestImpl req,
org.kohsuke.stapler.ResponseImpl rsp,
Object node,
org.kohsuke.stapler.MetaClass nodeMetaClass)
throws IOException,
javax.servlet.ServletException
- Specified by:
handleIndexRequest
in class org.kohsuke.stapler.Facet
- Throws:
IOException
javax.servlet.ServletException
Copyright © 2011. All Rights Reserved.