Class DeliveryPipelineView

java.lang.Object
hudson.model.AbstractModelObject
hudson.model.View
se.diabol.jenkins.pipeline.DeliveryPipelineView
All Implemented Interfaces:
ExtensionPoint, Describable<View>, DescriptorByNameOwner, ModelObject, Saveable, SearchableModelObject, SearchItem, AccessControlled, Badgeable, ModelObjectWithChildren, HasWidgets

public class DeliveryPipelineView extends View
A view that shows one or more delivery pipelines: chains of jobs with downstream dependencies, or Pipeline (Jenkinsfile) jobs. The page polls api/json and renders the Component model it gets back.

Field names are the persisted format of 1.x, which Job DSL's deliveryPipelineView also writes.

  • Constructor Details

    • DeliveryPipelineView

      @DataBoundConstructor public DeliveryPipelineView(String name)
    • DeliveryPipelineView

      public DeliveryPipelineView(String name, ViewGroup owner)
  • Method Details

    • readResolve

      protected Object readResolve()
    • getComponentSpecs

      public List<DeliveryPipelineView.ComponentSpec> getComponentSpecs()
    • setComponentSpecs

      public void setComponentSpecs(List<DeliveryPipelineView.ComponentSpec> componentSpecs)
    • getRegexpFirstJobs

      public List<DeliveryPipelineView.RegExpSpec> getRegexpFirstJobs()
    • setRegexpFirstJobs

      public void setRegexpFirstJobs(List<DeliveryPipelineView.RegExpSpec> regexpFirstJobs)
    • getNoOfPipelines

      public int getNoOfPipelines()
    • setNoOfPipelines

      public void setNoOfPipelines(int noOfPipelines)
    • getNoOfColumns

      public int getNoOfColumns()
    • setNoOfColumns

      public void setNoOfColumns(int noOfColumns)
    • getSorting

      public String getSorting()
    • setSorting

      public void setSorting(String sorting)
    • getUpdateInterval

      public int getUpdateInterval()
    • setUpdateInterval

      public void setUpdateInterval(int updateInterval)
    • getMaxNumberOfVisiblePipelines

      public int getMaxNumberOfVisiblePipelines()
    • setMaxNumberOfVisiblePipelines

      public void setMaxNumberOfVisiblePipelines(int maxNumberOfVisiblePipelines)
    • isPagingEnabled

      public boolean isPagingEnabled()
    • getPagingEnabled

      public boolean getPagingEnabled()
      The 1.x name of isPagingEnabled().
    • setPagingEnabled

      public void setPagingEnabled(boolean pagingEnabled)
    • isShowAggregatedPipeline

      public boolean isShowAggregatedPipeline()
    • setShowAggregatedPipeline

      public void setShowAggregatedPipeline(boolean showAggregatedPipeline)
    • isShowChanges

      public boolean isShowChanges()
    • setShowChanges

      public void setShowChanges(boolean showChanges)
    • isShowDescription

      public boolean isShowDescription()
    • setShowDescription

      public void setShowDescription(boolean showDescription)
    • isShowTotalBuildTime

      public boolean isShowTotalBuildTime()
    • setShowTotalBuildTime

      public void setShowTotalBuildTime(boolean showTotalBuildTime)
    • isShowTestResults

      public boolean isShowTestResults()
    • setShowTestResults

      public void setShowTestResults(boolean showTestResults)
    • isShowStaticAnalysisResults

      public boolean isShowStaticAnalysisResults()
    • setShowStaticAnalysisResults

      public void setShowStaticAnalysisResults(boolean showStaticAnalysisResults)
    • isShowPromotions

      public boolean isShowPromotions()
    • setShowPromotions

      public void setShowPromotions(boolean showPromotions)
    • isShowAbsoluteDateTime

      public boolean isShowAbsoluteDateTime()
    • setShowAbsoluteDateTime

      public void setShowAbsoluteDateTime(boolean showAbsoluteDateTime)
    • isAllowPipelineStart

      public boolean isAllowPipelineStart()
    • setAllowPipelineStart

      public void setAllowPipelineStart(boolean allowPipelineStart)
    • isAllowManualTriggers

      public boolean isAllowManualTriggers()
    • setAllowManualTriggers

      public void setAllowManualTriggers(boolean allowManualTriggers)
    • isAllowRebuild

      public boolean isAllowRebuild()
    • setAllowRebuild

      public void setAllowRebuild(boolean allowRebuild)
    • isAllowAbort

      public boolean isAllowAbort()
    • setAllowAbort

      public void setAllowAbort(boolean allowAbort)
    • getSettings

      @Exported public ViewSettings getSettings()
    • getServerTime

      @Exported public long getServerTime()
    • getComponents

      @Exported public List<Component> getComponents()
      The components with their pipelines. The request may carry page and component to page one component's instances, and fullscreen=true to switch paging off.
    • doManualStep

      public org.kohsuke.stapler.HttpResponse doManualStep(@QueryParameter String project, @QueryParameter String upstream, @QueryParameter String buildId)
      Triggers a manually triggered task, continuing from a build of its upstream job.
    • doRebuild

      public org.kohsuke.stapler.HttpResponse doRebuild(@QueryParameter String project, @QueryParameter String buildId, @QueryParameter String stage)
      Schedules a build of the job like the one with the given number, or when a stage is named, restarts that build from the stage.
    • doAbort

      public org.kohsuke.stapler.HttpResponse doAbort(@QueryParameter String project, @QueryParameter String buildId)
      Stops the build with the given number.
    • doProceedInput

      public org.kohsuke.stapler.HttpResponse doProceedInput(@QueryParameter String project, @QueryParameter String buildId, @QueryParameter String task)
      Lets a Pipeline run continue past the input step the given task, or else the run, is waiting at.
    • getApi

      public Api getApi()
      Overrides:
      getApi in class View
    • getItems

      public Collection<TopLevelItem> getItems()
      Specified by:
      getItems in class View
    • contains

      public boolean contains(TopLevelItem item)
      Specified by:
      contains in class View
    • onJobRenamed

      public void onJobRenamed(Item item, String oldName, String newName)
      Overrides:
      onJobRenamed in class View
    • submit

      protected void submit(org.kohsuke.stapler.StaplerRequest2 req) throws IOException, jakarta.servlet.ServletException, Descriptor.FormException
      Overrides:
      submit in class View
      Throws:
      IOException
      jakarta.servlet.ServletException
      Descriptor.FormException
    • doCreateItem

      public Item doCreateItem(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException
      Overrides:
      doCreateItem in class View
      Throws:
      IOException
      jakarta.servlet.ServletException