Class StuckBuildDetector.Detected
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.StuckBuildDetector.Detected
-
- Enclosing class:
- StuckBuildDetector
public static class StuckBuildDetector.Detected extends Object
-
-
Constructor Summary
Constructors Constructor Description Detected(long threshold, Map<SBuildType,Set<SQueuedBuild>> dependentHangingBuildsMap, Map<SBuildType,List<SQueuedBuild>> queuedBuildsMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<SBuildType,Set<SQueuedBuild>>
getDependentHangingBuildsMap()
Gets builds which have stuck dependencies.int
getNumberOfStuckBuilds()
Map<SBuildType,List<SQueuedBuild>>
getQueuedBuildsMap()
Gets stuck builds which do not have dependencies.long
getThreshold()
-
-
-
Constructor Detail
-
Detected
public Detected(long threshold, @NotNull Map<SBuildType,Set<SQueuedBuild>> dependentHangingBuildsMap, @NotNull Map<SBuildType,List<SQueuedBuild>> queuedBuildsMap)
-
-
Method Detail
-
getDependentHangingBuildsMap
@NotNull public Map<SBuildType,Set<SQueuedBuild>> getDependentHangingBuildsMap()
Gets builds which have stuck dependencies.
-
getQueuedBuildsMap
@NotNull public Map<SBuildType,List<SQueuedBuild>> getQueuedBuildsMap()
Gets stuck builds which do not have dependencies.
-
getThreshold
public long getThreshold()
-
getNumberOfStuckBuilds
public int getNumberOfStuckBuilds()
-
-