Package jetbrains.buildServer.serverSide
Interface BuildPromotionFactory
-
- All Known Subinterfaces:
BuildPromotionManager,BuildPromotionManagerEx
- All Known Implementing Classes:
BuildPromotionManagerImpl
public interface BuildPromotionFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DummyBuildPromotioncreateDummyPromotion(String branchName, BuildTypeEx buildType)Creates dummy (not real) build promotion, a build won't be able to start with this promotionDummyBuildPromotioncreateDummyPromotion(BuildTypeTemplateEx template)Creates dummy (not real) build promotion, a build won't be able to start with this promotionBuildPromotionExcreateNewPromotion(SBuildType buildType)Creates new promotion for specified build configuration
-
-
-
Method Detail
-
createNewPromotion
@NotNull BuildPromotionEx createNewPromotion(@NotNull SBuildType buildType)
Creates new promotion for specified build configuration- Parameters:
buildType- build configuration (for personal promotion - RemoteBuildType)- Returns:
- newly created build promotion
-
createDummyPromotion
@NotNull DummyBuildPromotion createDummyPromotion(@NotNull String branchName, @NotNull BuildTypeEx buildType)
Creates dummy (not real) build promotion, a build won't be able to start with this promotion- Parameters:
buildType- build configuration- Returns:
- see above
-
createDummyPromotion
@NotNull DummyBuildPromotion createDummyPromotion(@NotNull BuildTypeTemplateEx template)
Creates dummy (not real) build promotion, a build won't be able to start with this promotion- Parameters:
template- build configuration template for which promotion is created- Returns:
- see above
-
-