Class OverallLog


  • public class OverallLog
    extends AnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
    • Field Summary

      • Fields inherited from class org.kohsuke.stapler.framework.io.LargeText

        charset
    • Constructor Summary

      Constructors 
      Constructor Description
      OverallLog​(org.kohsuke.stapler.framework.io.ByteBuffer memory, LogsViewHeader logsViewHeader, Charset charset, boolean completed, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable context, io.opentelemetry.api.trace.Tracer tracer)  
    • Constructor Detail

      • OverallLog

        public OverallLog​(org.kohsuke.stapler.framework.io.ByteBuffer memory,
                          LogsViewHeader logsViewHeader,
                          Charset charset,
                          boolean completed,
                          org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable context,
                          io.opentelemetry.api.trace.Tracer tracer)
    • Method Detail

      • doProgressiveHtml

        public void doProgressiveHtml​(org.kohsuke.stapler.StaplerRequest req,
                                      org.kohsuke.stapler.StaplerResponse rsp)
                               throws IOException
        Invoked by `/job/:jobFullName/:runNumber/logText/progressiveHtml
        Overrides:
        doProgressiveHtml in class AnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
        Throws:
        IOException
      • doProgressiveText

        public void doProgressiveText​(org.kohsuke.stapler.StaplerRequest req,
                                      org.kohsuke.stapler.StaplerResponse rsp)
                               throws IOException
        Overrides:
        doProgressiveText in class AnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
        Throws:
        IOException
      • writeLogTo

        public long writeLogTo​(long start,
                               OutputStream out)
                        throws IOException
        Called by `/job/:jobFullName/:runNumber/consoleText` or `/blue/rest/organizations/:organization/pipelines/:pipeline/branches/:branch/runs/:runNumber/log?start=0` with `complete=true`
        Overrides:
        writeLogTo in class AnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
        Throws:
        IOException
      • writeHtmlTo

        public long writeHtmlTo​(long start,
                                Writer w)
                         throws IOException
        Inspired by io.jenkins.plugins.pipeline_cloudwatch_logs.CloudWatchRetriever.OverallLog#writeHtmlTo
        Overrides:
        writeHtmlTo in class AnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
        Throws:
        IOException
      • readAll

        public Reader readAll()
                       throws IOException
        Overrides:
        readAll in class org.kohsuke.stapler.framework.io.LargeText
        Throws:
        IOException
      • doProgressText

        public void doProgressText​(org.kohsuke.stapler.StaplerRequest req,
                                   org.kohsuke.stapler.StaplerResponse rsp)
                            throws IOException
        Overrides:
        doProgressText in class org.kohsuke.stapler.framework.io.LargeText
        Throws:
        IOException
      • createWriter

        protected Writer createWriter​(org.kohsuke.stapler.StaplerRequest req,
                                      org.kohsuke.stapler.StaplerResponse rsp,
                                      long size)
                               throws IOException
        Overrides:
        createWriter in class org.kohsuke.stapler.framework.io.LargeText
        Throws:
        IOException
      • markAsComplete

        public void markAsComplete()
        Overrides:
        markAsComplete in class org.kohsuke.stapler.framework.io.LargeText