Interface MuteInfoProvider
- 
- All Superinterfaces:
 ServerExtension,TeamCityExtension
public interface MuteInfoProvider extends ServerExtension
This extension allows to provide mute information for a specific problem for a specific build, in runtime.- Since:
 - 2022.10
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMuteInfoProvider.ProblemType 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MuteInfogetMuteInfo(BuildPromotion buildPromotion, MuteInfoProvider.ProblemType problemType, long problemId)If the problem should be muted, return corresponding MuteInfo object. 
 - 
 
- 
- 
Method Detail
- 
getMuteInfo
@Nullable MuteInfo getMuteInfo(@NotNull BuildPromotion buildPromotion, @NotNull MuteInfoProvider.ProblemType problemType, long problemId)
If the problem should be muted, return corresponding MuteInfo object. The MuteInfo object can be obtained from ProblemMutingService- Parameters:
 buildPromotion- a running build where the problem has occurredproblemType- type of the problem, test or a regular problemproblemId- ID of the problem, in the case of test it is testNameId, for problems it is the PK of record in 'problems' table.- Returns:
 - MuteInfo object to be used to mute the problem, if needed
 - See Also:
 ProblemMutingService
 
 - 
 
 -