Class BuildChainChangesCalculator
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BuildChainChangesCalculator
-
public class BuildChainChangesCalculator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_BRANCH_BUILDS_REACHABLE_FROM_TOP_PROP
-
Constructor Summary
Constructors Constructor Description BuildChainChangesCalculator(BuildPromotionManagerEx buildPromotionManager, SecurityContextEx securityContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBuildChainModifications(BuildPromotion buildPromotion, List<ChangeDescriptor> accumulator, ChangesCalculationOptionsEx options)
Collect change descriptors between two build chains.
-
-
-
Field Detail
-
DEFAULT_BRANCH_BUILDS_REACHABLE_FROM_TOP_PROP
public static final String DEFAULT_BRANCH_BUILDS_REACHABLE_FROM_TOP_PROP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildChainChangesCalculator
public BuildChainChangesCalculator(@NotNull BuildPromotionManagerEx buildPromotionManager, @NotNull SecurityContextEx securityContext)
-
-
Method Detail
-
addBuildChainModifications
public void addBuildChainModifications(@NotNull BuildPromotion buildPromotion, @NotNull List<ChangeDescriptor> accumulator, @NotNull ChangesCalculationOptionsEx options)
Collect change descriptors between two build chains. Younger chain is set by promotion, elder is set by provided selection policy. Returned list contains:- Changes from all builds of younger chain
- All changes that were included in builds of configurations from elder chain until younger chain
- Changes for DEPTH_THRESHOLD last builds for those configurations, that only are only in younger chain
- Parameters:
buildPromotion
- root of younger chainaccumulator
- accumulates changesoptions
- changes calculation options
-
-