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 featureorg.kohsuke.stapler.HttpResponse
getAllSteps
(org.kohsuke.stapler.StaplerRequest2 req) 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.kohsuke.stapler.HttpResponse
getSteps
(org.kohsuke.stapler.StaplerRequest2 req) org.kohsuke.stapler.HttpResponse
getTree()
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:
-
-
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) 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
-
isShowGraphOnBuildPage
public boolean isShowGraphOnBuildPage() -
isBuildable
public boolean isBuildable() -
isBuildInProgress
public boolean isBuildInProgress() -
getPermission
-
getCancelPermission
-
getConfigurePermission
-
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 org.kohsuke.stapler.HttpResponse getTree() throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getUrl
-
getIconColor
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-