Interface SystemProblemNotification


  • public interface SystemProblemNotification
    Provides an ability to raise a system problem and clear it if it's not actual anymore.
    Since:
    5.0
    • Method Detail

      • raiseProblem

        @NotNull
        SystemProblemTicket raiseProblem​(@NotNull
                                         SBuildType relatedTo,
                                         @NotNull
                                         SystemProblem problem)
        Raises a problem and links it to the given Build Type
        Parameters:
        relatedTo - Build Type
        problem - problem
        Returns:
        the problem ticket
      • raiseProblem

        @NotNull
        SystemProblemTicket raiseProblem​(@NotNull
                                         SBuildType relatedBuildType,
                                         @NotNull
                                         SVcsRoot relatedVcsRoot,
                                         @NotNull
                                         SystemProblem problem)
        Raises a problem and links it to a pair of the given Build Type and VCS Root. The example of such problems are the problems with Checkout Rules -- they are related to both VCS Roots and Build Types.
        Parameters:
        relatedBuildType - Build Type
        relatedVcsRoot - VCS Root
        problem - problem
        Returns:
        the problem ticket