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.ExecuteTaskSupport
Encapsulates a Groovy
ExecuteTask.- Since:
- 0.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.sonatype.maven.polyglot.execute.ExecuteContext context) groovy.lang.ClosuregetValue()voidsetClosure(groovy.lang.Closure closure) toString()Methods inherited from class org.sonatype.maven.polyglot.execute.ExecuteTaskSupport
getId, getPhase, getProfileId, setId, setPhase, setProfileId
-
Field Details
-
value
-
attrs
-
closure
private groovy.lang.Closure closure
-
-
Constructor Details
-
GroovyExecuteTask
-
-
Method Details
-
getValue
-
getAttributes
-
getClosure
public groovy.lang.Closure getClosure() -
setClosure
public void setClosure(groovy.lang.Closure closure) -
execute
-
toString
-