Interface BuildProblemResponsibilityFacade
-
- All Known Subinterfaces:
ResponsibilityFacadeEx
- All Known Implementing Classes:
ResponsibilityFacadeImpl
,SecuredResponsibilityFacade
public interface BuildProblemResponsibilityFacade
User: Victory.Bedrosova Date: 1/3/13 Time: 3:09 PM Provides the interface to access and modify the responsibility on a build problems. Thread-safe.- Since:
- 8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<BuildProblemResponsibilityEntry>
findBuildProblemResponsibilities(BuildProblemInfo buildProblem, String projectId)
Returns all responsibility entries for a build problem in the project's treeBuildProblemResponsibilityEntry
findBuildProblemResponsibility(BuildProblemInfo buildProblem, String projectId)
Returns responsibility entry for a build problem direct in a project, or null if it does not existList<BuildProblemResponsibilityEntry>
findEffectiveBuildProblemResponsibilities(BuildProblemInfo buildProblem, String projectId)
Returns all responsibility entries for a build problem in the project and it's parentsList<BuildProblemResponsibilityEntry>
getUserBuildProblemResponsibilities(User user, String projectId)
Returns the list of responsibility entries associated with the specified user in a specified project.void
removeBuildProblemResponsibility(BuildProblemInfo buildProblem, String projectId)
Removes responsibility entry associated with specified build problemvoid
setBuildProblemResponsibility(Collection<BuildProblemInfo> buildProblems, String projectId, ResponsibilityEntry entry)
Sets responsibility for several build problems at once in a specified project.void
setBuildProblemResponsibility(Collection<BuildProblemInfo> buildProblems, String projectId, ResponsibilityEntry entry, boolean removeResponsibilitiesInChildProjects)
Sets responsibility for several build problems at once in a specified projectvoid
setBuildProblemResponsibility(BuildProblemInfo buildProblem, String projectId, ResponsibilityEntry entry)
Sets the responsibility for build problem in a specified project
-
-
-
Method Detail
-
setBuildProblemResponsibility
void setBuildProblemResponsibility(@NotNull Collection<BuildProblemInfo> buildProblems, @NotNull String projectId, @NotNull ResponsibilityEntry entry)
Sets responsibility for several build problems at once in a specified project. Cleans up responsibilities in the child projects.- Parameters:
buildProblems
- collection of build problemsprojectId
- project internal identry
- new responsibility entry- See Also:
setBuildProblemResponsibility(Collection, String, ResponsibilityEntry, boolean)
-
setBuildProblemResponsibility
void setBuildProblemResponsibility(@NotNull Collection<BuildProblemInfo> buildProblems, @NotNull String projectId, @NotNull ResponsibilityEntry entry, boolean removeResponsibilitiesInChildProjects)
Sets responsibility for several build problems at once in a specified project- Parameters:
buildProblems
- collection of build problemsprojectId
- project internal identry
- new responsibility entryremoveResponsibilitiesInChildProjects
- indicates whether relevant responsibilities in the child projects should be removed.- Since:
- 2024.07
- See Also:
setBuildProblemResponsibility(jetbrains.buildServer.serverSide.problems.BuildProblemInfo, String, ResponsibilityEntry)
-
setBuildProblemResponsibility
void setBuildProblemResponsibility(@NotNull BuildProblemInfo buildProblem, @NotNull String projectId, @NotNull ResponsibilityEntry entry)
Sets the responsibility for build problem in a specified project- Parameters:
buildProblem
- build problemprojectId
- project internal id
-
findBuildProblemResponsibility
@Nullable BuildProblemResponsibilityEntry findBuildProblemResponsibility(@NotNull BuildProblemInfo buildProblem, @NotNull String projectId)
Returns responsibility entry for a build problem direct in a project, or null if it does not exist- Parameters:
buildProblem
- build problemprojectId
- project internal id- Returns:
- responsibility entry, or null
-
findBuildProblemResponsibilities
@NotNull List<BuildProblemResponsibilityEntry> findBuildProblemResponsibilities(@NotNull BuildProblemInfo buildProblem, @NotNull String projectId)
Returns all responsibility entries for a build problem in the project's tree- Parameters:
buildProblem
- build problemprojectId
- project internal id- Returns:
- responsibility entries list; since 2018.1 entries for the specified project go first in the list
- Since:
- 8.0
-
findEffectiveBuildProblemResponsibilities
@NotNull List<BuildProblemResponsibilityEntry> findEffectiveBuildProblemResponsibilities(@NotNull BuildProblemInfo buildProblem, @NotNull String projectId)
Returns all responsibility entries for a build problem in the project and it's parents- Parameters:
buildProblemId
- build problem idprojectId
- project internal id- Returns:
- responsibility entries list
- Since:
- 10.0.4
-
getUserBuildProblemResponsibilities
@NotNull List<BuildProblemResponsibilityEntry> getUserBuildProblemResponsibilities(@Nullable User user, @Nullable String projectId)
Returns the list of responsibility entries associated with the specified user in a specified project.- Parameters:
user
- the responsible user; null means all usersprojectId
- the project internal id; null means all projects- Returns:
- list of responsibility entries
-
removeBuildProblemResponsibility
void removeBuildProblemResponsibility(@NotNull BuildProblemInfo buildProblem, @NotNull String projectId)
Removes responsibility entry associated with specified build problem- Parameters:
buildProblem
- buils problemprojectId
- project internal id
-
-