Interface BuildProblemInvestigationsAndMutesManager

  • All Known Implementing Classes:
    BuildProblemInvestigationsAndMutesManagerImpl

    public interface BuildProblemInvestigationsAndMutesManager
    For investigated and/or muted build problems checks if the submitted build problems were fixed in the specified projects and removes the corresponding responsibilities and mutes. Default delay is BuildProblemInvestigationsAndMutesManagerImpl.DEFAULT_DELAY_SECONDS, for custom delay provide BuildProblemInvestigationsAndMutesManagerImpl.DELAY_SECONDS_PROPERTY internal property.
    Since:
    10.0.4
    Author:
    vbedrosova
    See Also:
    BuildProblemInvestigationsAndMutesManagerImpl
    • Method Detail

      • submitFixedProblems

        void submitFixedProblems​(@NotNull
                                 Collection<BuildProblemInfo> fixedProblems,
                                 @NotNull
                                 SBuild build)
        Use this method on a build finish, to submit a collection of problems fixed in the build. BuildProblemInvestigationsAndMutesManager will automatically remove investigations or mutes for the submitted problems if they are fixed in the corresponding scope.
        Parameters:
        fixedProblems - - problems fixed in the scope
        build - - finished build
      • removeBuildProblemInvesigations

        void removeBuildProblemInvesigations​(@NotNull
                                             List<BuildProblemResponsibilityEntry> toRemove,
                                             @NotNull
                                             String reason)
        Parameters:
        toRemove - collection of build problem investigations to remove
        reason - suffix of the message why investigations are removed by system