org.kohsuke.stapler.jelly.groovy
Class GroovierJellyScript

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

public class GroovierJellyScript
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
GroovierJellyScript(java.lang.Class clazz, java.net.URL scriptURL)
           
 
Method Summary
 org.apache.commons.jelly.Script compile()
           
 void run(JellyBuilder builder)
           
 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

GroovierJellyScript

public GroovierJellyScript(java.lang.Class clazz,
                           java.net.URL scriptURL)
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

run

public void run(JellyBuilder builder)


Copyright © 2011. All Rights Reserved.