Class PipelinePromotionsGeneratorImpl
- java.lang.Object
-
- jetbrains.buildServer.pipeline.impl.PipelinePromotionsGeneratorImpl
-
- All Implemented Interfaces:
PipelinePromotionsGenerator
public class PipelinePromotionsGeneratorImpl extends Object implements PipelinePromotionsGenerator
This class handles pipeline build chain creation.
The pipeline head (build configuration) itself does not contain any runners (steps) or dependencies. When pipeline head is added to the queue, using given pipeline description this class generates a bunch of virtual builds, which represent the jobs.
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.pipeline.PipelinePromotionsGenerator
DEBUG_PIPELINE_JOBS_LIST
-
-
Constructor Summary
Constructors Constructor Description PipelinePromotionsGeneratorImpl(PipelineSettings pipelineSettings, VirtualPromotionGeneratorFactory virtualPromotionGeneratorFactory, DependencyFactory dependencyFactory, ArtifactDependencyFactory artifactDependencyFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BuildPromotion>
freezePromotionAndDependenciesSettings(BuildPromotion headPromotion)
List<BuildPromotion>
generatePromotionsForQueue(BuildPromotion pipelineRunHeadPromotion)
Map<BuildPromotionEx,PipelineJobSettings>
populateJobSettings(BuildPromotionEx headPromotion)
-
-
-
Constructor Detail
-
PipelinePromotionsGeneratorImpl
public PipelinePromotionsGeneratorImpl(@NotNull PipelineSettings pipelineSettings, @NotNull VirtualPromotionGeneratorFactory virtualPromotionGeneratorFactory, @NotNull DependencyFactory dependencyFactory, @NotNull ArtifactDependencyFactory artifactDependencyFactory)
-
-
Method Detail
-
generatePromotionsForQueue
@NotNull public List<BuildPromotion> generatePromotionsForQueue(@NotNull BuildPromotion pipelineRunHeadPromotion)
- Specified by:
generatePromotionsForQueue
in interfacePipelinePromotionsGenerator
-
freezePromotionAndDependenciesSettings
@NotNull public List<BuildPromotion> freezePromotionAndDependenciesSettings(@NotNull BuildPromotion headPromotion)
- Specified by:
freezePromotionAndDependenciesSettings
in interfacePipelinePromotionsGenerator
-
populateJobSettings
@NotNull public Map<BuildPromotionEx,PipelineJobSettings> populateJobSettings(@NotNull BuildPromotionEx headPromotion)
-
-