@ExportedBean(defaultVisibility=100) public class Stage extends AbstractItem
VISIBILITY
Modifier and Type | Method and Description |
---|---|
Stage |
createAggregatedStage(hudson.model.ItemGroup context,
hudson.model.AbstractProject firstProject) |
Stage |
createLatestStage(hudson.model.ItemGroup context,
hudson.model.AbstractBuild firstBuild) |
static List<Stage> |
extractStages(hudson.model.AbstractProject firstProject,
hudson.model.AbstractProject lastProject) |
protected static Stage |
findStageForJob(String name,
Collection<Stage> stages) |
Set<Change> |
getChanges() |
int |
getColumn() |
List<Long> |
getDownstreamStageIds() |
List<String> |
getDownstreamStages() |
hudson.model.AbstractBuild |
getHighestBuild(hudson.model.AbstractProject firstProject,
hudson.model.ItemGroup context) |
hudson.model.AbstractBuild |
getHighestBuild(hudson.model.AbstractProject firstProject,
hudson.model.ItemGroup context,
hudson.model.Result minResult) |
long |
getId() |
static Stage |
getPrototypeStage(String name,
List<Task> tasks) |
int |
getRow() |
Map<String,List<String>> |
getTaskConnections() |
List<Task> |
getTasks() |
String |
getVersion() |
static List<Stage> |
placeStages(hudson.model.AbstractProject firstProject,
Collection<Stage> stages) |
void |
setChanges(Set<Change> changes) |
void |
setColumn(int column) |
void |
setDownstreamStageIds(List<Long> downstreamStageIds) |
void |
setDownstreamStages(List<String> downstreamStages) |
void |
setRow(int row) |
void |
setTaskConnections(Map<String,List<String>> taskConnections) |
protected static void |
sortByRowsCols(List<Stage> stages) |
String |
toString() |
getName
@Exported public String getVersion()
@Exported public int getRow()
public void setRow(int row)
@Exported public int getColumn()
public void setColumn(int column)
@Exported public long getId()
public static List<Stage> extractStages(hudson.model.AbstractProject firstProject, hudson.model.AbstractProject lastProject) throws PipelineException
PipelineException
public Stage createAggregatedStage(hudson.model.ItemGroup context, hudson.model.AbstractProject firstProject)
public Stage createLatestStage(hudson.model.ItemGroup context, hudson.model.AbstractBuild firstBuild)
public static List<Stage> placeStages(hudson.model.AbstractProject firstProject, Collection<Stage> stages) throws PipelineException
PipelineException
@CheckForNull protected static Stage findStageForJob(String name, Collection<Stage> stages)
@CheckForNull public hudson.model.AbstractBuild getHighestBuild(hudson.model.AbstractProject firstProject, hudson.model.ItemGroup context)
@CheckForNull public hudson.model.AbstractBuild getHighestBuild(hudson.model.AbstractProject firstProject, hudson.model.ItemGroup context, hudson.model.Result minResult)
Copyright © 2016–2020 Diabol AB. All rights reserved.