public class DownstreamPipeline extends Pipeline
VISIBILITY
Constructor and Description |
---|
DownstreamPipeline(String name,
hudson.model.AbstractProject firstProject,
hudson.model.AbstractProject lastProject,
List<Stage> stages) |
Modifier and Type | Method and Description |
---|---|
protected static int |
calculateRetreiveSize(Component component,
boolean pagingEnabled,
int noOfPipelines,
int totalNoOfPipelines) |
List<Pipeline> |
createPipelineLatest(int noOfPipelines,
hudson.model.ItemGroup context,
boolean pagingEnabled,
boolean showChanges,
Component component)
Populates and return pipelines for the supplied pipeline prototype with the current status.
|
protected static int |
getStartIndex(Component component,
boolean pagingEnabled,
int noOfPipelines) |
boolean |
showUpstream() |
calculateTotalBuildTime, createPipelineAggregated, extractPipeline, extractPipeline, getChanges, getCommits, getContributors, getFirstProject, getId, getLastActivity, getLastProject, getPipelines, getStages, getTimestamp, getTotalBuildTime, getTriggeredBy, getVersion, isAggregated, pipelineOf, resolveBuilds, setChanges, setCommits, toString
getName
public List<Pipeline> createPipelineLatest(int noOfPipelines, hudson.model.ItemGroup context, boolean pagingEnabled, boolean showChanges, Component component) throws PipelineException
Pipeline
createPipelineLatest
in class Pipeline
noOfPipelines
- number of pipeline instancescontext
- the Jenkins ItemGroup contextpagingEnabled
- whether paging option is enabled for the current viewshowChanges
- whether SCM changes is displayed for the current viewcomponent
- the current component to resolve the latest pipeline forPipelineException
- if unable to successfully resolve the pipeline given the specified parametersprotected static int getStartIndex(Component component, boolean pagingEnabled, int noOfPipelines)
protected static int calculateRetreiveSize(Component component, boolean pagingEnabled, int noOfPipelines, int totalNoOfPipelines)
public boolean showUpstream()
showUpstream
in class Pipeline
Copyright © 2016–2020 Diabol AB. All rights reserved.