Class BuildChainFactory
- java.lang.Object
-
- jetbrains.buildServer.serverSide.dependency.BuildChainFactory
-
public class BuildChainFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description BuildChainFactory(ProjectManager projectManager, VcsModificationHistory vcsModificationHistory, ChangesCalculationOptionsFactoryEx changesCalculationOptionsFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildChaincreateBuildChain(Collection<SBuildType> topBuildTypes, Collection<BuildPromotion> promotions)Creates a new build chain with specified build types and a number of top build promotions.BuildChaincreateBuildChain(SBuildType topBuildType, Collection<BuildPromotion> promotions)Creates a new build chain with specified build type and a number of top build promotions.BuildChaincreateBuildChain(SBuildType topBuildType, BuildPromotion promotion)Creates a new build chain with specified build type and single top build promotion.
-
-
-
Constructor Detail
-
BuildChainFactory
public BuildChainFactory(@NotNull ProjectManager projectManager, @NotNull VcsModificationHistory vcsModificationHistory, @NotNull ChangesCalculationOptionsFactoryEx changesCalculationOptionsFactory)
-
-
Method Detail
-
createBuildChain
@NotNull public BuildChain createBuildChain(@NotNull Collection<SBuildType> topBuildTypes, @NotNull Collection<BuildPromotion> promotions)
Creates a new build chain with specified build types and a number of top build promotions.- Parameters:
topBuildType-promotions-- Returns:
-
createBuildChain
@NotNull public BuildChain createBuildChain(@NotNull SBuildType topBuildType, @NotNull Collection<BuildPromotion> promotions)
Creates a new build chain with specified build type and a number of top build promotions.- Parameters:
topBuildType-promotions-- Returns:
-
createBuildChain
@NotNull public BuildChain createBuildChain(@NotNull SBuildType topBuildType, @NotNull BuildPromotion promotion)
Creates a new build chain with specified build type and single top build promotion. Top build promotion may or may not correspond to the specified build type.- Parameters:
topBuildType-promotion-- Returns:
-
-