|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.listener.Log4jListener
Listener which sends events to Log4j logging system
Constructor Summary | |
Log4jListener()
Construct the listener and make sure there is a valid appender. |
Method Summary | |
void |
buildFinished(BuildEvent event)
Signals that the last target has finished. |
void |
buildStarted(BuildEvent event)
Signals that a build has started. |
void |
messageLogged(BuildEvent event)
Signals a message logging event. |
void |
targetFinished(BuildEvent event)
Signals that a target has finished. |
void |
targetStarted(BuildEvent event)
Signals that a target is starting. |
void |
taskFinished(BuildEvent event)
Signals that a task has finished. |
void |
taskStarted(BuildEvent event)
Signals that a task is starting. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log4jListener()
Method Detail |
public void buildStarted(BuildEvent event)
BuildListener
buildStarted
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildListener.buildStarted(org.apache.tools.ant.BuildEvent)
public void buildFinished(BuildEvent event)
BuildListener
buildFinished
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildListener.buildFinished(org.apache.tools.ant.BuildEvent)
public void targetStarted(BuildEvent event)
BuildListener
targetStarted
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildListener.targetStarted(org.apache.tools.ant.BuildEvent)
public void targetFinished(BuildEvent event)
BuildListener
targetFinished
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildListener.targetFinished(org.apache.tools.ant.BuildEvent)
public void taskStarted(BuildEvent event)
BuildListener
taskStarted
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildListener.taskStarted(org.apache.tools.ant.BuildEvent)
public void taskFinished(BuildEvent event)
BuildListener
taskFinished
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildListener.taskFinished(org.apache.tools.ant.BuildEvent)
public void messageLogged(BuildEvent event)
BuildListener
messageLogged
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildListener.messageLogged(org.apache.tools.ant.BuildEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |