Class GroovyExecuteTask
- java.lang.Object
-
- org.sonatype.maven.polyglot.execute.ExecuteTaskSupport
-
- org.sonatype.maven.polyglot.groovy.execute.GroovyExecuteTask
-
- All Implemented Interfaces:
org.sonatype.maven.polyglot.execute.ExecuteTask
public class GroovyExecuteTask extends org.sonatype.maven.polyglot.execute.ExecuteTaskSupportEncapsulates a GroovyExecuteTask.- Since:
- 0.7
- Author:
- Jason Dillon
-
-
Constructor Summary
Constructors Constructor Description GroovyExecuteTask(Object value, Map attrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(org.sonatype.maven.polyglot.execute.ExecuteContext context)MapgetAttributes()groovy.lang.ClosuregetClosure()ObjectgetValue()voidsetClosure(groovy.lang.Closure closure)StringtoString()
-
-
-
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
-
-