|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensor.ant.antbuild.BuildSensorAntListener
public class BuildSensorAntListener
Ant build sensor. It's implemented as an ant listener. Note that we are unable to access the Ant properties directly. Because of this almost all the Ant methods have a check to see if properties have been retrieved by this sensor. The order of the methods depends on the build so almost all methods need to do this check.
Constructor Summary | |
---|---|
BuildSensorAntListener()
Constructs an instance of the build sensor listener. |
Method Summary | |
---|---|
void |
buildFinished(org.apache.tools.ant.BuildEvent buildEvent)
Callback function when ant finishes the build. |
void |
buildStarted(org.apache.tools.ant.BuildEvent buildEvent)
Callback function when ant starts the build. |
void |
messageLogged(org.apache.tools.ant.BuildEvent buildEvent)
Callback function when ant logs a message. |
void |
targetFinished(org.apache.tools.ant.BuildEvent buildEvent)
Callback function when ant finishes a build target. |
void |
targetStarted(org.apache.tools.ant.BuildEvent buildEvent)
Callback function when ant starts a build target. |
void |
taskFinished(org.apache.tools.ant.BuildEvent buildEvent)
Callback function when ant finishes a build task. |
void |
taskStarted(org.apache.tools.ant.BuildEvent buildEvent)
Callback function when ant starts a build task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildSensorAntListener()
Method Detail |
---|
public void buildStarted(org.apache.tools.ant.BuildEvent buildEvent)
buildStarted
in interface org.apache.tools.ant.BuildListener
buildEvent
- The build event object.public void buildFinished(org.apache.tools.ant.BuildEvent buildEvent)
buildFinished
in interface org.apache.tools.ant.BuildListener
buildEvent
- The build event object.public void targetStarted(org.apache.tools.ant.BuildEvent buildEvent)
targetStarted
in interface org.apache.tools.ant.BuildListener
buildEvent
- The build event object.public void targetFinished(org.apache.tools.ant.BuildEvent buildEvent)
targetFinished
in interface org.apache.tools.ant.BuildListener
buildEvent
- The build event object.public void taskStarted(org.apache.tools.ant.BuildEvent buildEvent)
taskStarted
in interface org.apache.tools.ant.BuildListener
buildEvent
- The build event object.public void taskFinished(org.apache.tools.ant.BuildEvent buildEvent)
taskFinished
in interface org.apache.tools.ant.BuildListener
buildEvent
- The build event object.public void messageLogged(org.apache.tools.ant.BuildEvent buildEvent)
messageLogged
in interface org.apache.tools.ant.BuildListener
buildEvent
- The build event object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |