org.kohsuke.stapler.jelly.groovy
Class ClosureScript

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

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

Script that invokes a Closure.

Author:
Kohsuke Kawaguchi

Constructor Summary
ClosureScript(JellyBuilder builder, groovy.lang.Closure closure)
           
 
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

ClosureScript

public ClosureScript(JellyBuilder builder,
                     groovy.lang.Closure closure)
Method Detail

compile

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

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.