Class AbstractPipelineViewAction
- java.lang.Object
-
- io.jenkins.plugins.pipelinegraphview.utils.AbstractPipelineViewAction
-
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
- Direct Known Subclasses:
PipelineConsoleViewAction
,PipelineGraphViewAction
public abstract class AbstractPipelineViewAction extends Object implements Action, IconSpec
-
-
Field Summary
Fields Modifier and Type Field Description protected PipelineGraphApi
api
protected org.jenkinsci.plugins.workflow.job.WorkflowRun
run
-
Constructor Summary
Constructors Constructor Description AbstractPipelineViewAction(org.jenkinsci.plugins.workflow.job.WorkflowRun target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.sf.json.JSONObject
createJson(PipelineGraph pipelineGraph)
String
getBuildDisplayName()
String
getBuildStatusIconClassName()
Permission
getConfigurePermission()
String
getFullBuildDisplayName()
String
getFullProjectDisplayName()
String
getIconClassName()
BallColor
getIconColor()
String
getIconFileName()
String
getNextBuildNumber()
Permission
getPermission()
String
getPreviousBuildNumber()
org.kohsuke.stapler.HttpResponse
getTree()
boolean
isBuildable()
org.kohsuke.stapler.HttpResponse
replayRun(org.kohsuke.stapler.StaplerRequest 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 Detail
-
api
protected final transient PipelineGraphApi api
-
run
protected final transient org.jenkinsci.plugins.workflow.job.WorkflowRun run
-
-
Method Detail
-
isBuildable
public boolean isBuildable()
-
getPermission
public Permission getPermission()
-
getConfigurePermission
public Permission getConfigurePermission()
-
getBuildDisplayName
public String getBuildDisplayName()
-
getFullBuildDisplayName
public String getFullBuildDisplayName()
-
getFullProjectDisplayName
public String getFullProjectDisplayName()
-
getPreviousBuildNumber
public String getPreviousBuildNumber()
-
getNextBuildNumber
public String getNextBuildNumber()
-
getIconColor
public BallColor getIconColor()
-
getBuildStatusIconClassName
public String 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.StaplerRequest req)
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getIconClassName
public String getIconClassName()
- Specified by:
getIconClassName
in interfaceIconSpec
-
-