Class GroovyExecuteTask

  • All Implemented Interfaces:
    org.sonatype.maven.polyglot.execute.ExecuteTask

    public class GroovyExecuteTask
    extends org.sonatype.maven.polyglot.execute.ExecuteTaskSupport
    Encapsulates a Groovy ExecuteTask.
    Since:
    0.7
    Author:
    Jason Dillon
    • Constructor Detail

      • GroovyExecuteTask

        public GroovyExecuteTask​(Object value,
                                 Map attrs)
    • Method Detail

      • getValue

        public Object getValue()
      • getAttributes

        public Map getAttributes()
      • getClosure

        public groovy.lang.Closure getClosure()
      • setClosure

        public void setClosure​(groovy.lang.Closure closure)
      • execute

        public void execute​(org.sonatype.maven.polyglot.execute.ExecuteContext context)
                     throws Exception
        Throws:
        Exception