Class GroovyFacet

java.lang.Object
org.kohsuke.stapler.Facet
org.kohsuke.stapler.jelly.groovy.GroovyFacet
All Implemented Interfaces:
org.kohsuke.stapler.jelly.JellyCompatibleFacet

@MetaInfServices(org.kohsuke.stapler.Facet.class) public class GroovyFacet extends org.kohsuke.stapler.Facet implements org.kohsuke.stapler.jelly.JellyCompatibleFacet
Facet that brings in Groovy support on top of Jelly.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • GroovyFacet

      public GroovyFacet()
  • Method Details

    • 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<GroovyClassTearOff>> 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 jakarta.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request, org.kohsuke.stapler.lang.Klass type, Object it, String viewName) throws IOException
      Overrides:
      createRequestDispatcher in class org.kohsuke.stapler.Facet
      Throws:
      IOException
    • buildIndexDispatchers

      public void buildIndexDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers)
      Overrides:
      buildIndexDispatchers in class org.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, jakarta.servlet.ServletException
      Specified by:
      handleIndexRequest in class org.kohsuke.stapler.Facet
      Throws:
      IOException
      jakarta.servlet.ServletException