Class OverallLog
java.lang.Object
org.kohsuke.stapler.framework.io.LargeText
hudson.console.AnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
io.jenkins.plugins.opentelemetry.job.log.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
ConstructorDescriptionOverallLog
(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 Summary
Modifier and TypeMethodDescriptionprotected Writer
createWriter
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, long size) void
doProgressiveHtml
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) Invoked by `/job/:jobFullName/:runNumber/logText/progressiveHtmlvoid
doProgressiveText
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) void
doProgressText
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) void
readAll()
long
writeHtmlTo
(long start, Writer w) Inspired by io.jenkins.plugins.pipeline_cloudwatch_logs.CloudWatchRetriever.OverallLog#writeHtmlTolong
writeLogTo
(long start, OutputStream out) Called by `/job/:jobFullName/:runNumber/consoleText` or `/blue/rest/organizations/:organization/pipelines/:pipeline/branches/:branch/runs/:runNumber/log?start=0` with `complete=true`long
writeLogTo
(long start, Writer w) long
writeRawLogTo
(long start, OutputStream out) Invoked by: * /job/:jobFullName/:runNumber/console *WorkflowRun.getLogInputStream()
Methods inherited from class hudson.console.AnnotatedLargeText
setContentType
Methods inherited from class org.kohsuke.stapler.framework.io.LargeText
isComplete, length
-
Constructor Details
-
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 Details
-
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 classAnnotatedLargeText<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 classAnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
- Throws:
IOException
-
writeLogTo
- Overrides:
writeLogTo
in classAnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
- Throws:
IOException
-
writeLogTo
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 classAnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
- Throws:
IOException
-
writeRawLogTo
Invoked by: * /job/:jobFullName/:runNumber/console *WorkflowRun.getLogInputStream()
- Overrides:
writeRawLogTo
in classAnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
- Throws:
IOException
-
writeHtmlTo
Inspired by io.jenkins.plugins.pipeline_cloudwatch_logs.CloudWatchRetriever.OverallLog#writeHtmlTo- Overrides:
writeHtmlTo
in classAnnotatedLargeText<org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner.Executable>
- Throws:
IOException
-
readAll
- Overrides:
readAll
in classorg.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 classorg.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 classorg.kohsuke.stapler.framework.io.LargeText
- Throws:
IOException
-
markAsComplete
public void markAsComplete()- Overrides:
markAsComplete
in classorg.kohsuke.stapler.framework.io.LargeText
-