Class GroovierJellyScript

  • All Implemented Interfaces:
    org.apache.commons.jelly.Script

    public class GroovierJellyScript
    extends 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 Detail

      • GroovierJellyScript

        public GroovierJellyScript​(Class clazz,
                                   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