Interface SystemProblemList
-
- All Known Implementing Classes:
SystemProblemNotificationEngine
public interface SystemProblemList
Provides an ability to retrieve raised system problems. Each method executes a query returning a subset of system problems with the given properties.- Since:
- 5.0
- See Also:
SystemProblem
,SystemProblemEntry
,SystemProblemNotification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SystemProblem
getProblem(int id)
Returns the problem by the given idCollection<SBuildType>
getProblematicBuildTypes()
Returns the set of Build Types having at least one system problem (directly or indirectly associated)Collection<SystemProblemEntry>
getProblems(SBuildType buildType)
Returns the set of system problems related to the given Build Type.Collection<SystemProblemEntry>
getProblems(SBuildType buildType, String problemType, String problemSource)
Returns the set of system problems related to the given Build Type with additional filtering by problem type and problem source.Collection<SystemProblemEntry>
getProblems(SVcsRoot vcsRoot)
Returns the set of system problems related to the given VCS Root.
-
-
-
Method Detail
-
getProblems
@NotNull Collection<SystemProblemEntry> getProblems(@NotNull SBuildType buildType)
Returns the set of system problems related to the given Build Type. It includes both directly and indirectly associated problems. That is the problem directly associated with the VCS Roots connected to this Build Type are also included.- Parameters:
buildType
- Build Type- Returns:
- the collection of problems
-
getProblems
@NotNull Collection<SystemProblemEntry> getProblems(@NotNull SBuildType buildType, @Nullable String problemType, @Nullable String problemSource)
Returns the set of system problems related to the given Build Type with additional filtering by problem type and problem source. It includes both directly and indirectly associated problems. That is the problem directly associated with the VCS Roots connected to this Build Type are also included.- Parameters:
buildType
- Build TypeproblemType
- if not null only problems of this problem type are includedproblemSource
- if not null only problems with this problem source are included- Returns:
- the collection of problems
-
getProblems
@NotNull Collection<SystemProblemEntry> getProblems(@NotNull SVcsRoot vcsRoot)
Returns the set of system problems related to the given VCS Root. The problems associated with this VCS Root AND some Build Type are NOT included.- Parameters:
vcsRoot
- VCS Root- Returns:
- the collection of problems
-
getProblematicBuildTypes
@NotNull Collection<SBuildType> getProblematicBuildTypes()
Returns the set of Build Types having at least one system problem (directly or indirectly associated)- Returns:
- the collection of problematic Build Types
-
getProblem
@Nullable SystemProblem getProblem(int id)
Returns the problem by the given id- Parameters:
id
- id od the problem- Returns:
- the problem or null if no such problem found
-
-