Package jetbrains.buildServer.serverSide
Interface CurrentProblemsManager
-
- All Known Subinterfaces:
CurrentProblemsManagerEx
- All Known Implementing Classes:
CurrentProblemsManagerImpl
public interface CurrentProblemsManager
Represents the manager of current projects' problems (seeCurrentProblems
).Thread-safe.
- Since:
- 5.1
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
- See Also:
CurrentProblems
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<TestName,List<STestRun>>
getFailingTests(SProject project)
Calculates and returns currently failing tests (including muted) with corresponding test runs in the specified projectCurrentProblems
getProblemsForProject(SProject project)
Calculates and returns current project problems.ProblemsSummary
getProblemsSummary(Map<SProject,List<SBuildType>> buildTypes)
Returns the problems summary for the projects and build types specified.
-
-
-
Method Detail
-
getProblemsForProject
@NotNull CurrentProblems getProblemsForProject(@NotNull SProject project)
Calculates and returns current project problems. All running builds are taken into account.- Parameters:
project
- the project- Returns:
- current project problems
-
getFailingTests
@NotNull Map<TestName,List<STestRun>> getFailingTests(@NotNull SProject project)
Calculates and returns currently failing tests (including muted) with corresponding test runs in the specified project- Returns:
- see above
- Since:
- 8.1
-
getProblemsSummary
@NotNull ProblemsSummary getProblemsSummary(@NotNull Map<SProject,List<SBuildType>> buildTypes)
Returns the problems summary for the projects and build types specified. All current problems (including ones from the running builds) and investigations are taken into account.- Parameters:
buildTypes
- the map of build types to get summary for- Returns:
- problems summary
- Since:
- 7.1
-
-