Class PipelineConsoleViewAction

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

public class PipelineConsoleViewAction extends Object implements Action, IconSpec
  • Field Details

  • Constructor Details

    • PipelineConsoleViewAction

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

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • 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
    • getConsoleText

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

      @GET @WebMethod(name="consoleBuildOutput") public void getBuildConsole(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
    • getRunDetailsCard

      public RunDetailsCard getRunDetailsCard()
    • isShowGraphOnBuildPage

      public boolean isShowGraphOnBuildPage()
    • isBuildable

      public boolean isBuildable()
    • isBuildInProgress

      public boolean isBuildInProgress()
    • getPermission

      public Permission getPermission()
    • getCancelPermission

      public Permission getCancelPermission()
    • getConfigurePermission

      public Permission getConfigurePermission()
    • getBuildDisplayName

      public String getBuildDisplayName()
    • getBuildFullDisplayName

      public String getBuildFullDisplayName()
    • isRebuildAvailable

      public boolean isRebuildAvailable()
    • isRestartFromStageAvailable

      public boolean isRestartFromStageAvailable()
    • doRerun

      @JavaScriptMethod public org.kohsuke.stapler.HttpResponse doRerun()
      Handles the rerun request using ReplayAction feature
    • hasNextBuild

      @GET @WebMethod(name="nextBuild") public org.kohsuke.stapler.HttpResponse hasNextBuild(org.kohsuke.stapler.StaplerRequest2 req)
    • doCancel

      @JavaScriptMethod public org.kohsuke.stapler.HttpResponse doCancel()
      Handles the cancel request.
    • getFullProjectDisplayName

      public String getFullProjectDisplayName()
    • getBuildUrl

      public String getBuildUrl()
    • getPreviousBuildNumber

      public String getPreviousBuildNumber()
    • getPreviousBuildUrl

      public String getPreviousBuildUrl()
    • getNextBuildNumber

      public String getNextBuildNumber()
    • getTree

      @GET @WebMethod(name="tree") public org.kohsuke.stapler.HttpResponse getTree() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getUrl

      public String getUrl()
    • getIconColor

      public BallColor getIconColor()
    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action