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 voidaddBuildTypeMuteInfo(String buildTypeId, MuteInfo muteInfo)voidaddProjectMuteInfo(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.MuteInfogetProjectMuteInfo()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:CurrentMuteInfoReturns 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:
getProjectMuteInfoin interfaceCurrentMuteInfo- Returns:
- project mute info
-
getProjectsMuteInfo
@NotNull public Map<SProject,MuteInfo> getProjectsMuteInfo()
Description copied from interface:CurrentMuteInfoReturns the mute info for a project scope.- Specified by:
getProjectsMuteInfoin 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:CurrentMuteInfoReturns the mute info for a build type scope.- Specified by:
getBuildTypeMuteInfoin 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:CurrentMuteInfoReturns the mute info for a build type scope grouped by mute info.- Specified by:
getMuteInfoGroupsin interfaceCurrentMuteInfo- Returns:
- build type mute info map.
-
-