|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.tasks.util.AntTaskAccess
class AntTaskAccess extends java.lang.Object
Provides a mechanism to get access to an Ant Task object after the task has been executed. Use ant.project.addBuildListener to add an AntTaskAccess object as a build listener.
Field Summary | |
---|---|
Closure |
closure
|
Constructor Summary | |
AntTaskAccess()
Default CTOR. |
|
AntTaskAccess(Closure closure)
CTOR for normal use. |
Method Summary | |
---|---|
void
|
buildFinished(BuildEvent buildEvent)
|
void
|
buildStarted(BuildEvent buildEvent)
|
void
|
messageLogged(BuildEvent buildEvent)
|
void
|
setClosure(Closure closure)
|
void
|
targetFinished(BuildEvent buildEvent)
|
void
|
targetStarted(BuildEvent buildEvent)
|
void
|
taskFinished(BuildEvent buildEvent)
|
void
|
taskStarted(BuildEvent buildEvent)
|
Methods inherited from class java.lang.Object | |
---|---|
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
Field Detail |
---|
Closure closure
Constructor Detail |
---|
public AntTaskAccess()
public AntTaskAccess(Closure closure)
Method Detail |
---|
public void buildFinished(BuildEvent buildEvent)
public void buildStarted(BuildEvent buildEvent)
public void messageLogged(BuildEvent buildEvent)
public void setClosure(Closure closure)
public void targetFinished(BuildEvent buildEvent)
public void targetStarted(BuildEvent buildEvent)
public void taskFinished(BuildEvent buildEvent)
public void taskStarted(BuildEvent buildEvent)
Groovy Documentation