org.kohsuke.stapler.jelly.groovy
Class GroovyFacet

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

@MetaInfServices(value=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

Field Summary
 
Fields inherited from class org.kohsuke.stapler.Facet
LOGGER
 
Constructor Summary
GroovyFacet()
           
 
Method Summary
 void buildViewDispatchers(org.kohsuke.stapler.MetaClass owner, List<org.kohsuke.stapler.Dispatcher> dispatchers)
           
 javax.servlet.RequestDispatcher createRequestDispatcher(org.kohsuke.stapler.RequestImpl request, Class type, Object it, String viewName)
           
 Collection<Class<GroovyClassTearOff>> getClassTearOffTypes()
           
 Collection<String> getScriptExtensions()
           
 boolean handleIndexRequest(org.kohsuke.stapler.RequestImpl req, org.kohsuke.stapler.ResponseImpl rsp, Object node, org.kohsuke.stapler.MetaClass nodeMetaClass)
           
 
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
 

Constructor Detail

GroovyFacet

public GroovyFacet()
Method Detail

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 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.