Interface BuildProblemManager
-
- All Known Implementing Classes:
BuildProblemManagerImpl
public interface BuildProblemManager
User: Victory.Bedrosova Date: 2/12/13 Time: 10:45 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuildProblem
createBuildProblem(BuildPromotion buildPromotion, int buildProblemId, BuildProblemData data)
BuildProblem
createBuildProblem(BuildPromotion buildPromotion, int buildProblemId, BuildProblemData data, boolean muted)
BuildProblem
createBuildProblem(BuildPromotion buildPromotion, int buildProblemId, BuildProblemData data, boolean muted, MuteInfo muteInfo)
BuildProblem
createBuildProblem(BuildPromotion buildPromotion, int buildProblemId, BuildProblemData data, MuteInfo muteInfo)
void
dumpBuildProblems(OutputStream stream, String projectId, String buildTypeId, String id, String identity, String type)
BuildProblemData
findProblemDataById(Integer problemId)
Returns build problem data for the specified id (problem may be current or already fixed).Collection<SBuildType>
getBuildTypes(Collection<Integer> buildProblemIds, String projectId)
Returns set of build types where specified build problems occurred possibly filtered by projectList<CurrentBuildProblem>
getCurrentBuildProblems(SProject project)
Returns all current build problems in the specified project and it's subprojects grouped by problem idList<BuildProblem>
getCurrentBuildProblemsList(SProject project)
Returns all current build problems in the specified project and it's subprojectsCollection<BuildProblem>
getLastBuildProblems(Set<Integer> buildProblemIds, SProject project, boolean onlyForDefaultBranch)
Returns last occurences of the specified build problems in all project's and it's subprojects' build types.ProblemMutingService
getMutingService()
-
-
-
Method Detail
-
createBuildProblem
@NotNull BuildProblem createBuildProblem(@NotNull BuildPromotion buildPromotion, int buildProblemId, @NotNull BuildProblemData data)
-
createBuildProblem
@NotNull BuildProblem createBuildProblem(@NotNull BuildPromotion buildPromotion, int buildProblemId, @NotNull BuildProblemData data, boolean muted)
-
createBuildProblem
@NotNull BuildProblem createBuildProblem(@NotNull BuildPromotion buildPromotion, int buildProblemId, @NotNull BuildProblemData data, @Nullable MuteInfo muteInfo)
-
createBuildProblem
@NotNull BuildProblem createBuildProblem(@NotNull BuildPromotion buildPromotion, int buildProblemId, @NotNull BuildProblemData data, boolean muted, @Nullable MuteInfo muteInfo)
-
getMutingService
@NotNull ProblemMutingService getMutingService()
-
getCurrentBuildProblems
@NotNull List<CurrentBuildProblem> getCurrentBuildProblems(@NotNull SProject project)
Returns all current build problems in the specified project and it's subprojects grouped by problem id- Parameters:
project
- project- Returns:
- see above
-
getCurrentBuildProblemsList
@NotNull List<BuildProblem> getCurrentBuildProblemsList(@NotNull SProject project)
Returns all current build problems in the specified project and it's subprojects- Parameters:
project
- project- Returns:
- see above
-
getBuildTypes
@NotNull Collection<SBuildType> getBuildTypes(@NotNull Collection<Integer> buildProblemIds, @Nullable String projectId)
Returns set of build types where specified build problems occurred possibly filtered by project- Parameters:
buildProblemIds
- build problem idsprojectId
- taget project id or null for all projects- Returns:
- see above
-
getLastBuildProblems
@NotNull Collection<BuildProblem> getLastBuildProblems(@NotNull Set<Integer> buildProblemIds, @Nullable SProject project, boolean onlyForDefaultBranch)
Returns last occurences of the specified build problems in all project's and it's subprojects' build types. This means that there can be more than one problem for each provided problem id if it occurred in several build types. There also can be zero problems for some problem id if there are no longer builds where it occurred on server.- Parameters:
buildProblemIds
- build problem identitiesproject
- project or null for all projectsonlyForDefaultBranch
- whether build problems should be shown for default branch only or for all branches- Returns:
- see above
- See Also:
LastBuildProblemsFinder
-
dumpBuildProblems
void dumpBuildProblems(@NotNull OutputStream stream, @Nullable String projectId, @Nullable String buildTypeId, @Nullable String id, @Nullable String identity, @Nullable String type)
-
findProblemDataById
@Nullable BuildProblemData findProblemDataById(@NotNull Integer problemId)
Returns build problem data for the specified id (problem may be current or already fixed).- Parameters:
problemId
- build problem id- Returns:
- see above
-
-