@Deprecated public class Log4jListener extends java.lang.Object implements BuildListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOG_ANT
Deprecated.
log category we log into
|
Constructor and Description |
---|
Log4jListener()
Deprecated.
Construct the listener
|
Modifier and Type | Method and Description |
---|---|
void |
buildFinished(BuildEvent event)
Deprecated.
Signals that the last target has finished.
|
void |
buildStarted(BuildEvent event)
Deprecated.
Signals that a build has started.
|
void |
messageLogged(BuildEvent event)
Deprecated.
Signals a message logging event.
|
void |
targetFinished(BuildEvent event)
Deprecated.
Signals that a target has finished.
|
void |
targetStarted(BuildEvent event)
Deprecated.
Signals that a target is starting.
|
void |
taskFinished(BuildEvent event)
Deprecated.
Signals that a task has finished.
|
void |
taskStarted(BuildEvent event)
Deprecated.
Signals that a task is starting.
|
public static final java.lang.String LOG_ANT
public void buildStarted(BuildEvent event)
BuildListener
This event is fired before the project instance is fully configured. In particular no properties have been set and the project may not know its name or default target, yet.
buildStarted
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.{@inheritDoc}.
public void buildFinished(BuildEvent event)
BuildListener
buildFinished
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.{@inheritDoc}.
public void targetStarted(BuildEvent event)
BuildListener
targetStarted
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.{@inheritDoc}.
public void targetFinished(BuildEvent event)
BuildListener
targetFinished
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.{@inheritDoc}.
public void taskStarted(BuildEvent event)
BuildListener
taskStarted
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.{@inheritDoc}.
public void taskFinished(BuildEvent event)
BuildListener
taskFinished
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.{@inheritDoc}.
public void messageLogged(BuildEvent event)
messageLogged
in interface BuildListener
event
- An event with any relevant extra information.
Must not be null
.BuildEvent.getMessage()
,
BuildEvent.getException()
,
BuildEvent.getPriority()