Class DependenciesUtil
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.DependenciesUtil
-
public class DependenciesUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description DependenciesUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
consumeAll(Collection<? extends BuildPromotion> topPromotions, Consumer<BuildPromotion> consumer)
static List<BuildPromotionEx>
findAllTopPromotions(Collection<BuildPromotionEx> promotions)
static Set<BuildPromotionEx>
findUnusedBuildPromotions(Set<BuildPromotionEx> promotions)
This method accepts a set of promotions and finds "unused" among them.
-
-
-
Method Detail
-
consumeAll
public static void consumeAll(@NotNull Collection<? extends BuildPromotion> topPromotions, @NotNull Consumer<BuildPromotion> consumer)
-
findAllTopPromotions
@NotNull public static List<BuildPromotionEx> findAllTopPromotions(@NotNull Collection<BuildPromotionEx> promotions)
-
findUnusedBuildPromotions
@NotNull public static Set<BuildPromotionEx> findUnusedBuildPromotions(@NotNull Set<BuildPromotionEx> promotions)
This method accepts a set of promotions and finds "unused" among them. In this context "used" means that a build promotion has an incoming snapshot dependency from some other build promotion which is not in the set passed to the method as the first argument.- Parameters:
promotions
-- Returns:
-
-