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
    • 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 occurred
        problemType - type of the problem, test or a regular problem
        problemId - 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