| java.lang.Object org.apache.tools.ant.module.bridge.impl.NbBuildLogger
NbBuildLogger | final class NbBuildLogger implements BuildListener,LoggerTrampoline.AntSessionImpl(Code) | | NetBeans-sensitive build logger.
Just delegates all events to the registered SPI loggers
through an abstraction layer.
Synchronization: all callbacks are synchronized, both to protect access to logger
caches, and to prevent AntBridge.suspend/resumeDelegation from being called with
dynamic overlaps.
author: Jesse Glick |
Constructor Summary | |
public | NbBuildLogger(File origScript, OutputWriter out, OutputWriter err, int verbosity, String displayName, Runnable interestingOutputCallback, ProgressHandle handle) |
Method Summary | |
public void | buildFinished(BuildEvent ev) | void | buildInitializationFailed(BuildException be) | public void | buildStarted(BuildEvent ev) | public synchronized void | consumeException(Throwable t) | public OutputListener | createStandardHyperlink(URL file, String message, int line1, int column1, int line2, int column2) | public void | deliverMessageLogged(AntEvent originalEvent, String message, int level) | public synchronized Object | getCustomData(AntLogger logger) | public String | getDisplayName() | String | getDisplayNameNoLock() | public File | getOriginatingScript() | public String[] | getOriginatingTargets() | public int | getVerbosity() | public synchronized boolean | isExceptionConsumed(Throwable t) | public void | messageLogged(BuildEvent ev) | public void | println(String message, boolean error, OutputListener listener) | public synchronized void | putCustomData(AntLogger logger, Object data) | synchronized void | setActualTargets(String[] targets) | public void | shutdown() Notify this process that it has been shut down. | public void | stop() Try to stop running at the next safe point. | public void | targetFinished(BuildEvent ev) | public void | targetStarted(BuildEvent ev) | public void | taskFinished(BuildEvent ev) | public void | taskStarted(BuildEvent ev) |
NbBuildLogger | public NbBuildLogger(File origScript, OutputWriter out, OutputWriter err, int verbosity, String displayName, Runnable interestingOutputCallback, ProgressHandle handle)(Code) | | |
buildFinished | public void buildFinished(BuildEvent ev)(Code) | | |
buildInitializationFailed | void buildInitializationFailed(BuildException be)(Code) | | |
buildStarted | public void buildStarted(BuildEvent ev)(Code) | | |
createStandardHyperlink | public OutputListener createStandardHyperlink(URL file, String message, int line1, int column1, int line2, int column2)(Code) | | |
deliverMessageLogged | public void deliverMessageLogged(AntEvent originalEvent, String message, int level)(Code) | | |
getOriginatingScript | public File getOriginatingScript()(Code) | | |
getOriginatingTargets | public String[] getOriginatingTargets()(Code) | | |
getVerbosity | public int getVerbosity()(Code) | | |
isExceptionConsumed | public synchronized boolean isExceptionConsumed(Throwable t)(Code) | | |
messageLogged | public void messageLogged(BuildEvent ev)(Code) | | |
println | public void println(String message, boolean error, OutputListener listener)(Code) | | |
setActualTargets | synchronized void setActualTargets(String[] targets)(Code) | | |
shutdown | public void shutdown()(Code) | | Notify this process that it has been shut down.
Refuse any further queries on AntEvent etc.
See Also: "#71266" |
stop | public void stop()(Code) | | Try to stop running at the next safe point.
|
targetFinished | public void targetFinished(BuildEvent ev)(Code) | | |
targetStarted | public void targetStarted(BuildEvent ev)(Code) | | |
taskFinished | public void taskFinished(BuildEvent ev)(Code) | | |
taskStarted | public void taskStarted(BuildEvent ev)(Code) | | |
|
|