Class OneProblemCurrentMuteInfo
- java.lang.Object
-
- jetbrains.buildServer.serverSide.mute.OneProblemCurrentMuteInfo
-
- All Implemented Interfaces:
CurrentMuteInfo
public class OneProblemCurrentMuteInfo extends Object implements CurrentMuteInfo
User: Victory.Bedrosova Date: 2/13/13 Time: 11:32 AM
-
-
Constructor Summary
Constructors Constructor Description OneProblemCurrentMuteInfo(ProjectManager projectManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBuildTypeMuteInfo(String buildTypeId, MuteInfo muteInfo)
void
addProjectMuteInfo(MuteInfo projectMuteInfo)
Map<SBuildType,MuteInfo>
getBuildTypeMuteInfo()
Returns the mute info for a build type scope.Map<MuteInfo,List<SBuildType>>
getMuteInfoGroups()
Returns the mute info for a build type scope grouped by mute info.MuteInfo
getProjectMuteInfo()
Returns the mute info for a project.Map<SProject,MuteInfo>
getProjectsMuteInfo()
Returns the mute info for a project scope.
-
-
-
Constructor Detail
-
OneProblemCurrentMuteInfo
public OneProblemCurrentMuteInfo(@NotNull ProjectManager projectManager)
-
-
Method Detail
-
getProjectMuteInfo
@Nullable public MuteInfo getProjectMuteInfo()
Description copied from interface:CurrentMuteInfo
Returns the mute info for a project. If there are several projects, this function returns mute info for one of them randomly selected. This methods is the candidate to drop. UseCurrentMuteInfo.getProjectsMuteInfo()
instead.- Specified by:
getProjectMuteInfo
in interfaceCurrentMuteInfo
- Returns:
- project mute info
-
getProjectsMuteInfo
@NotNull public Map<SProject,MuteInfo> getProjectsMuteInfo()
Description copied from interface:CurrentMuteInfo
Returns the mute info for a project scope.- Specified by:
getProjectsMuteInfo
in interfaceCurrentMuteInfo
- Returns:
- project mute info map. Contains mute infos from the specified project, all its parents and children.
-
getBuildTypeMuteInfo
@NotNull public Map<SBuildType,MuteInfo> getBuildTypeMuteInfo()
Description copied from interface:CurrentMuteInfo
Returns the mute info for a build type scope.- Specified by:
getBuildTypeMuteInfo
in interfaceCurrentMuteInfo
- Returns:
- build type mute info map.
-
addProjectMuteInfo
public void addProjectMuteInfo(@NotNull MuteInfo projectMuteInfo)
-
addBuildTypeMuteInfo
public void addBuildTypeMuteInfo(@NotNull String buildTypeId, @NotNull MuteInfo muteInfo)
-
getMuteInfoGroups
@NotNull public Map<MuteInfo,List<SBuildType>> getMuteInfoGroups()
Description copied from interface:CurrentMuteInfo
Returns the mute info for a build type scope grouped by mute info.- Specified by:
getMuteInfoGroups
in interfaceCurrentMuteInfo
- Returns:
- build type mute info map.
-
-