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, getLogger
hyperlink
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotate, error, error, fatalError, fatalError, getLogger, hyperlink
public StreamBuildListener(OutputStream out, Charset charset)
public StreamBuildListener(File out, Charset charset) throws IOException
IOException
public StreamBuildListener(OutputStream w)
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)
BuildListener
started
in interface BuildListener
causes
- Causes that started a build. See Run.getCauses()
.public void finished(Result result)
BuildListener
finished
in interface BuildListener
Copyright © 2016. All rights reserved.