Package org.kohsuke.stapler.jelly.groovy
Class GroovyFacet
- java.lang.Object
-
- org.kohsuke.stapler.Facet
-
- org.kohsuke.stapler.jelly.groovy.GroovyFacet
-
- All Implemented Interfaces:
JellyCompatibleFacet
@MetaInfServices(org.kohsuke.stapler.Facet.class) public class GroovyFacet extends org.kohsuke.stapler.Facet implements JellyCompatibleFacet
Facetthat brings in Groovy support on top of Jelly.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description GroovyFacet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildIndexDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers)voidbuildViewDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers)javax.servlet.RequestDispatchercreateRequestDispatcher(org.kohsuke.stapler.RequestImpl request, org.kohsuke.stapler.lang.Klass type, Object it, String viewName)Collection<Class<GroovyClassTearOff>>getClassTearOffTypes()Collection<String>getScriptExtensions()booleanhandleIndexRequest(org.kohsuke.stapler.RequestImpl req, org.kohsuke.stapler.ResponseImpl rsp, Object node, org.kohsuke.stapler.MetaClass nodeMetaClass)
-
-
-
Method Detail
-
buildViewDispatchers
public void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers)- Specified by:
buildViewDispatchersin classorg.kohsuke.stapler.Facet
-
getClassTearOffTypes
public Collection<Class<GroovyClassTearOff>> getClassTearOffTypes()
- Specified by:
getClassTearOffTypesin interfaceJellyCompatibleFacet
-
getScriptExtensions
public Collection<String> getScriptExtensions()
- Specified by:
getScriptExtensionsin interfaceJellyCompatibleFacet
-
createRequestDispatcher
public javax.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request, org.kohsuke.stapler.lang.Klass type, Object it, String viewName) throws IOException- Overrides:
createRequestDispatcherin classorg.kohsuke.stapler.Facet- Throws:
IOException
-
buildIndexDispatchers
public void buildIndexDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers)- Overrides:
buildIndexDispatchersin classorg.kohsuke.stapler.Facet
-
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:
handleIndexRequestin classorg.kohsuke.stapler.Facet- Throws:
IOExceptionjavax.servlet.ServletException
-
-