@MetaInfServices(value=org.kohsuke.stapler.Facet.class) public class JRubyFacet extends org.kohsuke.stapler.Facet implements JellyCompatibleFacet
Facet that adds Ruby-based view technologies.| Constructor and Description |
|---|
JRubyFacet() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFallbackDispatchers(org.kohsuke.stapler.MetaClass owner,
List<org.kohsuke.stapler.Dispatcher> dispatchers) |
void |
buildIndexDispatchers(org.kohsuke.stapler.MetaClass mc,
List<org.kohsuke.stapler.Dispatcher> dispatchers) |
void |
buildViewDispatchers(org.kohsuke.stapler.MetaClass owner,
List<org.kohsuke.stapler.Dispatcher> dispatchers) |
javax.servlet.RequestDispatcher |
createRequestDispatcher(org.kohsuke.stapler.RequestImpl request,
org.kohsuke.stapler.lang.Klass<?> type,
Object it,
String viewName) |
org.kohsuke.stapler.MetaClass |
getClassInfo(org.jruby.RubyClass r) |
Collection<Class<? extends AbstractRubyTearOff>> |
getClassTearOffTypes() |
org.kohsuke.stapler.lang.Klass<org.jruby.RubyModule> |
getKlass(Object o) |
Collection<String> |
getScriptExtensions() |
boolean |
handleIndexRequest(org.kohsuke.stapler.RequestImpl req,
org.kohsuke.stapler.ResponseImpl rsp,
Object node,
org.kohsuke.stapler.MetaClass mc) |
org.apache.commons.jelly.Script |
parseScript(URL template) |
public org.apache.commons.jelly.Script parseScript(URL template) throws IOException
IOExceptionpublic org.kohsuke.stapler.lang.Klass<org.jruby.RubyModule> getKlass(Object o)
getKlass in class org.kohsuke.stapler.Facetpublic org.kohsuke.stapler.MetaClass getClassInfo(org.jruby.RubyClass r)
public void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner,
List<org.kohsuke.stapler.Dispatcher> dispatchers)
buildViewDispatchers in class org.kohsuke.stapler.Facetpublic void buildFallbackDispatchers(org.kohsuke.stapler.MetaClass owner,
List<org.kohsuke.stapler.Dispatcher> dispatchers)
buildFallbackDispatchers in class org.kohsuke.stapler.Facetpublic Collection<Class<? extends AbstractRubyTearOff>> getClassTearOffTypes()
getClassTearOffTypes in interface JellyCompatibleFacetpublic Collection<String> getScriptExtensions()
getScriptExtensions in interface JellyCompatibleFacetpublic javax.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request,
org.kohsuke.stapler.lang.Klass<?> type,
Object it,
String viewName)
throws IOException
createRequestDispatcher in class org.kohsuke.stapler.FacetIOExceptionpublic void buildIndexDispatchers(org.kohsuke.stapler.MetaClass mc,
List<org.kohsuke.stapler.Dispatcher> dispatchers)
buildIndexDispatchers in class org.kohsuke.stapler.Facetpublic boolean handleIndexRequest(org.kohsuke.stapler.RequestImpl req,
org.kohsuke.stapler.ResponseImpl rsp,
Object node,
org.kohsuke.stapler.MetaClass mc)
throws IOException,
javax.servlet.ServletException
handleIndexRequest in class org.kohsuke.stapler.FacetIOExceptionjavax.servlet.ServletExceptionCopyright © 2020. All rights reserved.