org.kohsuke.stapler.jelly.groovy
Class GroovyScript

java.lang.Object
  extended by org.kohsuke.stapler.jelly.groovy.GroovyScript
All Implemented Interfaces:
org.apache.commons.jelly.Script

public class GroovyScript
extends java.lang.Object
implements org.apache.commons.jelly.Script

Wraps a Groovy-driven Jelly script into Script (so that it can be called from other Jelly scripts.)

Author:
Kohsuke Kawaguchi

Constructor Summary
GroovyScript(java.lang.Class clazz)
           
 
Method Summary
 org.apache.commons.jelly.Script compile()
           
 void run(org.apache.commons.jelly.JellyContext context, org.apache.commons.jelly.XMLOutput output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyScript

public GroovyScript(java.lang.Class clazz)
Method Detail

compile

public org.apache.commons.jelly.Script compile()
Specified by:
compile in interface org.apache.commons.jelly.Script

run

public void run(org.apache.commons.jelly.JellyContext context,
                org.apache.commons.jelly.XMLOutput output)
         throws org.apache.commons.jelly.JellyTagException
Specified by:
run in interface org.apache.commons.jelly.Script
Throws:
org.apache.commons.jelly.JellyTagException


Copyright © 2008. All Rights Reserved.