public class StreamBuildListener extends StreamTaskListener implements BuildListener
BuildListener that writes to an OutputStream.
This class is remotable.NULL| Constructor and Description |
|---|
StreamBuildListener(File out,
Charset charset) |
StreamBuildListener(OutputStream w) |
StreamBuildListener(OutputStream out,
Charset charset) |
StreamBuildListener(PrintStream w)
Deprecated.
as of 1.349
The caller should use
StreamBuildListener(OutputStream, Charset) to pass in
the charset and output stream separately, so that this class can handle encoding correctly. |
StreamBuildListener(PrintStream w,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
finished(Result result)
Called when a build is finished.
|
void |
started(List<Cause> causes)
Called when a build is started.
|
annotate, close, closeQuietly, error, error, fatalError, fatalError, fromStderr, fromStdout, getLoggerhyperlinkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotate, error, error, fatalError, fatalError, getLogger, hyperlinkpublic StreamBuildListener(OutputStream out, Charset charset)
public StreamBuildListener(File out, Charset charset) throws IOException
IOExceptionpublic StreamBuildListener(OutputStream w)
@Deprecated public StreamBuildListener(PrintStream w)
StreamBuildListener(OutputStream, Charset) to pass in
the charset and output stream separately, so that this class can handle encoding correctly.public StreamBuildListener(PrintStream w, Charset charset)
public void started(List<Cause> causes)
BuildListenerstarted in interface BuildListenercauses - Causes that started a build. See Run.getCauses().public void finished(Result result)
BuildListenerfinished in interface BuildListenerCopyright © 2019. All rights reserved.