|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.DefaultLogger org.apache.tools.ant.listener.ProfileLogger
public class ProfileLogger
This is a special logger that is designed to profile builds.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.DefaultLogger |
---|
emacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out |
Constructor Summary | |
---|---|
ProfileLogger()
|
Method Summary | |
---|---|
void |
targetFinished(BuildEvent event)
Logs a message to say that the target has finished. |
void |
targetStarted(BuildEvent event)
Logs a message to say that the target has started. |
void |
taskFinished(BuildEvent event)
Logs a message to say that the task has finished. |
void |
taskStarted(BuildEvent event)
Logs a message to say that the task has started. |
Methods inherited from class org.apache.tools.ant.DefaultLogger |
---|
buildFinished, buildStarted, extractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getTimestamp, log, messageLogged, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileLogger()
Method Detail |
---|
public void targetStarted(BuildEvent event)
targetStarted
in interface BuildListener
targetStarted
in class DefaultLogger
event
- An event with any relevant extra information. Must not be
null
.BuildEvent.getTarget()
public void targetFinished(BuildEvent event)
targetFinished
in interface BuildListener
targetFinished
in class DefaultLogger
event
- An event with any relevant extra information. Must not be
null
.BuildEvent.getException()
public void taskStarted(BuildEvent event)
taskStarted
in interface BuildListener
taskStarted
in class DefaultLogger
event
- An event with any relevant extra information. Must not be
null
.BuildEvent.getTask()
public void taskFinished(BuildEvent event)
taskFinished
in interface BuildListener
taskFinished
in class DefaultLogger
event
- An event with any relevant extra information. Must not be
null
.BuildEvent.getException()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |