Class TeeOutputStreamBuildListener
java.lang.Object
io.jenkins.plugins.opentelemetry.job.log.util.TeeOutputStreamBuildListener
- All Implemented Interfaces:
BuildListener,TaskListener,Serializable,AutoCloseable,org.jenkinsci.plugins.workflow.log.OutputStreamTaskListener,org.jenkinsci.remoting.SerializableOnlyOverRemoting
public class TeeOutputStreamBuildListener
extends Object
implements BuildListener, org.jenkinsci.plugins.workflow.log.OutputStreamTaskListener, AutoCloseable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jenkinsci.plugins.workflow.log.OutputStreamTaskListener
org.jenkinsci.plugins.workflow.log.OutputStreamTaskListener.Default -
Field Summary
Fields inherited from interface hudson.model.TaskListener
NULL -
Constructor Summary
ConstructorsConstructorDescriptionTeeOutputStreamBuildListener(BuildListener primary, BuildListener secondary) -
Method Summary
Methods 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, hyperlink
-
Constructor Details
-
TeeOutputStreamBuildListener
-
-
Method Details
-
getOutputStream
- Specified by:
getOutputStreamin interfaceorg.jenkinsci.plugins.workflow.log.OutputStreamTaskListener
-
getLogger
- Specified by:
getLoggerin interfaceTaskListener
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-