Class PipelineConsoleViewAction
java.lang.Object
io.jenkins.plugins.pipelinegraphview.consoleview.PipelineConsoleViewAction
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPipelineConsoleViewAction
(org.jenkinsci.plugins.workflow.job.WorkflowRun target) -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
doCancel()
Handles the cancel request.org.kohsuke.stapler.HttpResponse
doRerun()
Handles the rerun request using ReplayAction featurevoid
getAllSteps
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) void
getBuildConsole
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) org.kohsuke.stapler.HttpResponse
getConsoleOutput
(org.kohsuke.stapler.StaplerRequest2 req) protected net.sf.json.JSONObject
getConsoleOutputJson
(String nodeId, Long requestStartByte) void
getConsoleText
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) org.jenkinsci.plugins.workflow.job.WorkflowRun
getRun()
org.kohsuke.stapler.HttpResponse
getSteps
(org.kohsuke.stapler.StaplerRequest2 req) void
getTree
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) getUrl()
org.kohsuke.stapler.HttpResponse
hasNextBuild
(org.kohsuke.stapler.StaplerRequest2 req) boolean
boolean
boolean
boolean
boolean
-
Field Details
-
LOG_THRESHOLD
public static final long LOG_THRESHOLD- See Also:
-
URL_NAME
- See Also:
-
CACHE_AGE
public static final int CACHE_AGE
-
-
Constructor Details
-
PipelineConsoleViewAction
public PipelineConsoleViewAction(org.jenkinsci.plugins.workflow.job.WorkflowRun target)
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getSteps
@GET @WebMethod(name="steps") public org.kohsuke.stapler.HttpResponse getSteps(org.kohsuke.stapler.StaplerRequest2 req) -
getAllSteps
@GET @WebMethod(name="allSteps") public void getAllSteps(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException - Throws:
IOException
jakarta.servlet.ServletException
-
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
-
isShowGraphOnBuildPage
public boolean isShowGraphOnBuildPage() -
isBuildable
public boolean isBuildable() -
isBuildInProgress
public boolean isBuildInProgress() -
getPermission
-
getCancelPermission
-
getConfigurePermission
-
getRun
public org.jenkinsci.plugins.workflow.job.WorkflowRun getRun() -
getBuildDisplayName
-
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
-
getBuildUrl
-
getPreviousBuildNumber
-
getPreviousBuildUrl
-
getNextBuildNumber
-
getTree
@GET @WebMethod(name="tree") public void getTree(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException - Throws:
IOException
jakarta.servlet.ServletException
-
getUrl
-
getIconColor
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-