Class PipelineConsoleViewAction
java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.AbstractPipelineViewAction
io.jenkins.plugins.pipelinegraphview.consoleview.PipelineConsoleViewAction
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
-
Field Summary
Fields inherited from class io.jenkins.plugins.pipelinegraphview.utils.AbstractPipelineViewAction
api, run
-
Constructor Summary
ConstructorDescriptionPipelineConsoleViewAction
(org.jenkinsci.plugins.workflow.job.WorkflowRun target) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.sf.json.JSONObject
org.kohsuke.stapler.HttpResponse
getAllSteps
(org.kohsuke.stapler.StaplerRequest2 req) org.kohsuke.stapler.HttpResponse
getConsoleOutput
(org.kohsuke.stapler.StaplerRequest2 req) protected net.sf.json.JSONObject
getConsoleOutputJson
(String nodeId, Long requestStartByte) org.kohsuke.stapler.HttpResponse
getConsoleText
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) org.kohsuke.stapler.HttpResponse
getSteps
(org.kohsuke.stapler.StaplerRequest2 req) Methods inherited from class io.jenkins.plugins.pipelinegraphview.utils.AbstractPipelineViewAction
createJson, getBuildDisplayName, getBuildStatusIconClassName, getConfigurePermission, getFullBuildDisplayName, getFullProjectDisplayName, getIconColor, getIconFileName, getNextBuildNumber, getPermission, getPreviousBuildNumber, getTree, isBuildable, isParameterized, replayRun
-
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
-
getUrlName
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classAbstractPipelineViewAction
-
getDurationString
-
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
- 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
-