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
BuildListener that writes to an OutputStream.
This class is remotable.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
Fields inherited from interface hudson.model.TaskListener
NULL -
Constructor Summary
ConstructorsConstructorDescriptionStreamBuildListener(File out, Charset charset) Deprecated.StreamBuildListener(OutputStream out, Charset charset) 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, getLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.BuildListener
finished, startedMethods inherited from interface org.jenkinsci.remoting.SerializableOnlyOverRemoting
getChannelForSerializationMethods inherited from interface hudson.model.TaskListener
annotate, error, error, fatalError, fatalError, getCharset, getLogger, hyperlink
-
Constructor Details
-
StreamBuildListener
-
StreamBuildListener
- Throws:
IOException
-
StreamBuildListener
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.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
-
StreamBuildListener(OutputStream, Charset)to pass in the charset and output stream separately, so that this class can handle encoding correctly.