jetbrains.buildServer.serverSide.mute
Interface CurrentMuteInfo


public interface CurrentMuteInfo

Encapsulates the current mute info of a given problem.

The data holded by CurrentMuteInfo instances can be not up-to-date long after creation.

Since:
6.5
Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)

Method Summary
 java.util.Map<SBuildType,MuteInfo> getBuildTypeMuteInfo()
          Returns the mute info for a build type scope.
 java.util.Map<MuteInfo,java.util.List<SBuildType>> getMuteInfoGroups()
          Returns the mute info for a build type scope grouped by mute info.
 MuteInfo getProjectMuteInfo()
          Deprecated. use getProjectsMuteInfo() instead.
 java.util.Map<SProject,MuteInfo> getProjectsMuteInfo()
          Returns the mute info for a project scope.
 

Method Detail

getProjectMuteInfo

@Nullable
@Deprecated
MuteInfo getProjectMuteInfo()
Deprecated. use getProjectsMuteInfo() instead.

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. Use getProjectsMuteInfo() instead.

Returns:
project mute info

getProjectsMuteInfo

@NotNull
java.util.Map<SProject,MuteInfo> getProjectsMuteInfo()
Returns the mute info for a project scope.

Returns:
project mute info map. Contains mute infos from the specified project, all its parents and children.
Since:
8.0

getBuildTypeMuteInfo

@NotNull
java.util.Map<SBuildType,MuteInfo> getBuildTypeMuteInfo()
Returns the mute info for a build type scope.

Returns:
build type mute info map.

getMuteInfoGroups

@NotNull
java.util.Map<MuteInfo,java.util.List<SBuildType>> getMuteInfoGroups()
Returns the mute info for a build type scope grouped by mute info.

Returns:
build type mute info map.