Top Description Fields Constructors Methods
org.apache.tools.ant.listener

public Class SilentLogger

extends DefaultLogger
Class Inheritance
Imports
org.apache.tools.ant.BuildEvent, .DefaultLogger

A logger which logs nothing but build failure and what task might output
Since
1.9.0

Field Summary

Inherited from org.apache.tools.ant.DefaultLogger:
emacsModeerrLEFT_COLUMN_SIZElSepmsgOutputLevelout

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
buildFinished(BuildEvent
An event with any relevant extra information. Must not be null.
event
)

Overrides org.apache.tools.ant.DefaultLogger.buildFinished.

Implements org.apache.tools.ant.BuildListener.buildFinished.

Prints whether the build succeeded or failed, any errors the occurred during the build, and how long the build took.
public void
buildStarted(BuildEvent
Ignored.
event
)

Overrides org.apache.tools.ant.DefaultLogger.buildStarted.

Implements org.apache.tools.ant.BuildListener.buildStarted.

Responds to a build being started by just remembering the current time.
public void
public void
targetStarted(BuildEvent
An event with any relevant extra information. Must not be null.
event
)

Overrides org.apache.tools.ant.DefaultLogger.targetStarted.

Implements org.apache.tools.ant.BuildListener.targetStarted.

Logs a message to say that the target has started if this logger allows information-level messages.
public void
public void
Inherited from org.apache.tools.ant.DefaultLogger:
extractProjectNameformatTimegetBuildFailedMessagegetBuildSuccessfulMessagegetMessageOutputLevelgetTimestamplogmessageLoggedprintMessagesetEmacsModesetErrorPrintStreamsetMessageOutputLevelsetOutputPrintStream

Constructor Detail

SilentLoggerback to summary
public SilentLogger()

Method Detail

buildFinishedback to summary
public void buildFinished(BuildEvent event)

Overrides org.apache.tools.ant.DefaultLogger.buildFinished.

Implements org.apache.tools.ant.BuildListener.buildFinished.

Doc from org.apache.tools.ant.DefaultLogger.buildFinished.

Prints whether the build succeeded or failed, any errors the occurred during the build, and how long the build took.

Parameters
event:BuildEvent

An event with any relevant extra information. Must not be null.

Annotations
@Override
buildStartedback to summary
public void buildStarted(BuildEvent event)

Overrides org.apache.tools.ant.DefaultLogger.buildStarted.

Implements org.apache.tools.ant.BuildListener.buildStarted.

Doc from org.apache.tools.ant.DefaultLogger.buildStarted.

Responds to a build being started by just remembering the current time.

Parameters
event:BuildEvent

Ignored.

Annotations
@Override
targetFinishedback to summary
public void targetFinished(BuildEvent event)

Overrides org.apache.tools.ant.DefaultLogger.targetFinished.

Implements org.apache.tools.ant.BuildListener.targetFinished.

Doc from org.apache.tools.ant.DefaultLogger.targetFinished.

No-op implementation.

Parameters
event:BuildEvent

Ignored.

Annotations
@Override
targetStartedback to summary
public void targetStarted(BuildEvent event)

Overrides org.apache.tools.ant.DefaultLogger.targetStarted.

Implements org.apache.tools.ant.BuildListener.targetStarted.

Doc from org.apache.tools.ant.DefaultLogger.targetStarted.

Logs a message to say that the target has started if this logger allows information-level messages.

Parameters
event:BuildEvent

An event with any relevant extra information. Must not be null.

Annotations
@Override
taskFinishedback to summary
public void taskFinished(BuildEvent event)

Overrides org.apache.tools.ant.DefaultLogger.taskFinished.

Implements org.apache.tools.ant.BuildListener.taskFinished.

Doc from org.apache.tools.ant.DefaultLogger.taskFinished.

No-op implementation.

Parameters
event:BuildEvent

Ignored.

Annotations
@Override
taskStartedback to summary
public void taskStarted(BuildEvent event)

Overrides org.apache.tools.ant.DefaultLogger.taskStarted.

Implements org.apache.tools.ant.BuildListener.taskStarted.

Doc from org.apache.tools.ant.DefaultLogger.taskStarted.

No-op implementation.

Parameters
event:BuildEvent

Ignored.

Annotations
@Override