public class AntPerformanceListener
extends java.lang.Object
implements org.apache.tools.ant.BuildListener
Developed for use with Antelope, migrated to ant-contrib Oct 2003.
| Modifier and Type | Class and Description |
|---|---|
class |
AntPerformanceListener.StopWatch
A stopwatch, useful for 'quick and dirty' performance testing.
|
class |
AntPerformanceListener.StopWatchComparator
Compares the total times for two StopWatches.
|
| Constructor and Description |
|---|
AntPerformanceListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFinished(org.apache.tools.ant.BuildEvent be)
Sorts and prints the results.
|
void |
buildStarted(org.apache.tools.ant.BuildEvent be)
Starts a 'running total' stopwatch.
|
static void |
main(java.lang.String[] args) |
void |
messageLogged(org.apache.tools.ant.BuildEvent be)
no-op
|
void |
targetFinished(org.apache.tools.ant.BuildEvent be)
Stop timing the given target.
|
void |
targetStarted(org.apache.tools.ant.BuildEvent be)
Start timing the given target.
|
void |
taskFinished(org.apache.tools.ant.BuildEvent be)
Stop timing the given task.
|
void |
taskStarted(org.apache.tools.ant.BuildEvent be)
Start timing the given task.
|
public void buildStarted(org.apache.tools.ant.BuildEvent be)
buildStarted in interface org.apache.tools.ant.BuildListenerpublic void buildFinished(org.apache.tools.ant.BuildEvent be)
buildFinished in interface org.apache.tools.ant.BuildListenerpublic void targetStarted(org.apache.tools.ant.BuildEvent be)
targetStarted in interface org.apache.tools.ant.BuildListenerpublic void targetFinished(org.apache.tools.ant.BuildEvent be)
targetFinished in interface org.apache.tools.ant.BuildListenerpublic void taskStarted(org.apache.tools.ant.BuildEvent be)
taskStarted in interface org.apache.tools.ant.BuildListenerpublic void taskFinished(org.apache.tools.ant.BuildEvent be)
taskFinished in interface org.apache.tools.ant.BuildListenerpublic void messageLogged(org.apache.tools.ant.BuildEvent be)
messageLogged in interface org.apache.tools.ant.BuildListenerpublic static void main(java.lang.String[] args)