Interface BuildPromotionFactory

    • 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