Class BuildChainFactory


  • public class BuildChainFactory
    extends Object
    • 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: