Class DependentBuildsStopper
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.DependentBuildsStopper
-
public class DependentBuildsStopper extends Object
- Author:
- kir
-
-
Constructor Summary
Constructors Constructor Description DependentBuildsStopper(BuildPromotionEx promotion, ExecutorService executorService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<BuildPromotionEx>
getSafeToRemoveDirectDependencies()
Map<BuildPromotionEx,Boolean>
getUnfinishedDependencies()
List<SQueuedBuild>
getUnqueued()
void
stopUnsharedDependentBuilds(User user, String comment, boolean skipAlreadyInterrupted)
-
-
-
Constructor Detail
-
DependentBuildsStopper
public DependentBuildsStopper(@NotNull BuildPromotionEx promotion, @NotNull ExecutorService executorService)
-
-
Method Detail
-
stopUnsharedDependentBuilds
public void stopUnsharedDependentBuilds(@Nullable User user, @NotNull String comment, boolean skipAlreadyInterrupted)
-
getUnqueued
public List<SQueuedBuild> getUnqueued()
-
getUnfinishedDependencies
public Map<BuildPromotionEx,Boolean> getUnfinishedDependencies()
- Returns:
- map of dependencies of this promotion to the flag if it is safe to remove this promotion
-
getSafeToRemoveDirectDependencies
public Collection<BuildPromotionEx> getSafeToRemoveDirectDependencies()
-
-