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 Details

    • api

      protected final transient PipelineGraphApi 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

      public Permission getPermission()
    • getConfigurePermission

      public Permission getConfigurePermission()
    • getBuildDisplayName

      public String getBuildDisplayName()
    • isParameterized

      public boolean isParameterized()
    • 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.StaplerRequest2 req)
    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec