Package hudson.model
Class StreamBuildListener
- java.lang.Object
-
- hudson.util.AbstractTaskListener
-
- hudson.util.StreamTaskListener
-
- hudson.model.StreamBuildListener
-
- All Implemented Interfaces:
BuildListener
,TaskListener
,Closeable
,Serializable
,AutoCloseable
,org.jenkinsci.remoting.SerializableOnlyOverRemoting
public class StreamBuildListener extends StreamTaskListener implements BuildListener
BuildListener
that writes to anOutputStream
. This class is remotable.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface hudson.model.TaskListener
NULL
-
-
Constructor Summary
Constructors Constructor Description StreamBuildListener(File out, Charset charset)
StreamBuildListener(OutputStream w)
Deprecated.as of TODO The caller should useStreamBuildListener(OutputStream, Charset)
to pass in the charset and output stream separately, so that this class can handle encoding correctly.StreamBuildListener(OutputStream out, Charset charset)
StreamBuildListener(PrintStream w)
Deprecated.as of 1.349 The caller should useStreamBuildListener(OutputStream, Charset)
to pass in the charset and output stream separately, so that this class can handle encoding correctly.StreamBuildListener(PrintStream w, Charset charset)
-
Method Summary
-
Methods inherited from class hudson.util.StreamTaskListener
close, closeQuietly, fromStderr, fromStdout, getCharset, getLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.BuildListener
finished, started
-
Methods inherited from interface org.jenkinsci.remoting.SerializableOnlyOverRemoting
getChannelForSerialization
-
Methods inherited from interface hudson.model.TaskListener
annotate, error, error, fatalError, fatalError, getCharset, getLogger, hyperlink
-
-
-
-
Constructor Detail
-
StreamBuildListener
public StreamBuildListener(OutputStream out, Charset charset)
-
StreamBuildListener
public StreamBuildListener(File out, Charset charset) throws IOException
- Throws:
IOException
-
StreamBuildListener
@Deprecated public StreamBuildListener(OutputStream w)
Deprecated.as of TODO The caller should useStreamBuildListener(OutputStream, Charset)
to pass in the charset and output stream separately, so that this class can handle encoding correctly.
-
StreamBuildListener
@Deprecated public StreamBuildListener(PrintStream w)
Deprecated.as of 1.349 The caller should useStreamBuildListener(OutputStream, Charset)
to pass in the charset and output stream separately, so that this class can handle encoding correctly.
-
StreamBuildListener
public StreamBuildListener(PrintStream w, Charset charset)
-
-