Class PipelineConsoleViewAction

java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.AbstractPipelineViewAction
io.jenkins.plugins.pipelinegraphview.consoleview.PipelineConsoleViewAction
All Implemented Interfaces:
Action, ModelObject, IconSpec

public class PipelineConsoleViewAction extends AbstractPipelineViewAction
  • Field Details

  • Constructor Details

    • PipelineConsoleViewAction

      public PipelineConsoleViewAction(org.jenkinsci.plugins.workflow.job.WorkflowRun target)
  • Method Details

    • getDisplayName

      public String getDisplayName()
    • getUrlName

      public String getUrlName()
    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec
      Overrides:
      getIconClassName in class AbstractPipelineViewAction
    • getDurationString

      public String getDurationString()
    • getStartTimeString

      public String getStartTimeString()
    • getSteps

      @GET @WebMethod(name="steps") public org.kohsuke.stapler.HttpResponse getSteps(org.kohsuke.stapler.StaplerRequest2 req) throws IOException
      Throws:
      IOException
    • getAllSteps

      @GET @WebMethod(name="allSteps") public org.kohsuke.stapler.HttpResponse getAllSteps(org.kohsuke.stapler.StaplerRequest2 req) throws IOException
      Throws:
      IOException
    • getAllSteps

      protected net.sf.json.JSONObject getAllSteps() throws IOException
      Throws:
      IOException
    • getConsoleText

      @WebMethod(name="log") public org.kohsuke.stapler.HttpResponse getConsoleText(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException
      Throws:
      IOException
    • getConsoleOutput

      @GET @WebMethod(name="consoleOutput") public org.kohsuke.stapler.HttpResponse getConsoleOutput(org.kohsuke.stapler.StaplerRequest2 req) throws IOException
      Throws:
      IOException
    • getConsoleOutputJson

      protected net.sf.json.JSONObject getConsoleOutputJson(String nodeId, Long requestStartByte) throws IOException
      Throws:
      IOException