Class MultiPipelineGraphViewAction
java.lang.Object
io.jenkins.plugins.pipelinegraphview.multipipelinegraphview.MultiPipelineGraphViewAction
- All Implemented Interfaces:
Action
,ModelObject
,IconSpec
-
Constructor Summary
ConstructorDescriptionMultiPipelineGraphViewAction
(org.jenkinsci.plugins.workflow.job.WorkflowJob target) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.sf.json.JSONObject
createGraphJson
(PipelineGraph pipelineGraph) protected net.sf.json.JSONArray
createJson
(List<PipelineRun> pipelineRuns) org.kohsuke.stapler.HttpResponse
getRuns()
org.kohsuke.stapler.HttpResponse
getTree
(org.kohsuke.stapler.StaplerRequest2 req) boolean
boolean
-
Constructor Details
-
MultiPipelineGraphViewAction
public MultiPipelineGraphViewAction(org.jenkinsci.plugins.workflow.job.WorkflowJob target)
-
-
Method Details
-
getJobDisplayName
-
isBuildable
public boolean isBuildable() -
getPermission
-
getConfigurePermission
-
isShowGraphOnJobPage
public boolean isShowGraphOnJobPage() -
getTree
@GET @WebMethod(name="tree") public org.kohsuke.stapler.HttpResponse getTree(org.kohsuke.stapler.StaplerRequest2 req) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
createGraphJson
protected net.sf.json.JSONObject createGraphJson(PipelineGraph pipelineGraph) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getRuns
@GET @WebMethod(name="runs") public org.kohsuke.stapler.HttpResponse getRuns() throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
createJson
protected net.sf.json.JSONArray createJson(List<PipelineRun> pipelineRuns) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
-