Class AbstractPipelineViewAction
java.lang.Object
io.jenkins.plugins.pipelinegraphview.utils.AbstractPipelineViewAction
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
- Direct Known Subclasses:
PipelineConsoleViewAction
,PipelineGraphViewAction
-
Field Summary
Modifier and TypeFieldDescriptionprotected final PipelineGraphApi
protected final org.jenkinsci.plugins.workflow.job.WorkflowRun
-
Constructor Summary
ConstructorDescriptionAbstractPipelineViewAction
(org.jenkinsci.plugins.workflow.job.WorkflowRun target) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.sf.json.JSONObject
createJson
(PipelineGraph pipelineGraph) org.kohsuke.stapler.HttpResponse
getTree()
boolean
boolean
org.kohsuke.stapler.HttpResponse
replayRun
(org.kohsuke.stapler.StaplerRequest2 req) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.Action
getDisplayName, getUrlName
-
Field Details
-
api
-
run
protected final transient org.jenkinsci.plugins.workflow.job.WorkflowRun run
-
-
Constructor Details
-
AbstractPipelineViewAction
public AbstractPipelineViewAction(org.jenkinsci.plugins.workflow.job.WorkflowRun target)
-
-
Method Details
-
isBuildable
public boolean isBuildable() -
getPermission
-
getConfigurePermission
-
getBuildDisplayName
-
isParameterized
public boolean isParameterized() -
getFullBuildDisplayName
-
getFullProjectDisplayName
-
getPreviousBuildNumber
-
getNextBuildNumber
-
getIconColor
-
getBuildStatusIconClassName
-
createJson
protected net.sf.json.JSONObject createJson(PipelineGraph pipelineGraph) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getTree
@WebMethod(name="tree") public org.kohsuke.stapler.HttpResponse getTree() throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
replayRun
@WebMethod(name="replay") public org.kohsuke.stapler.HttpResponse replayRun(org.kohsuke.stapler.StaplerRequest2 req) -
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
-