Interface SystemProblemList

    • Method Detail

      • getProblems

        @NotNull
        Collection<SystemProblemEntry> getProblems​(@NotNull
                                                   SBuildType buildType)
        Returns the set of system problems related to the given Build Type. It includes both directly and indirectly associated problems. That is the problem directly associated with the VCS Roots connected to this Build Type are also included.
        Parameters:
        buildType - Build Type
        Returns:
        the collection of problems
      • getProblems

        @NotNull
        Collection<SystemProblemEntry> getProblems​(@NotNull
                                                   SBuildType buildType,
                                                   @Nullable
                                                   String problemType,
                                                   @Nullable
                                                   String problemSource)
        Returns the set of system problems related to the given Build Type with additional filtering by problem type and problem source. It includes both directly and indirectly associated problems. That is the problem directly associated with the VCS Roots connected to this Build Type are also included.
        Parameters:
        buildType - Build Type
        problemType - if not null only problems of this problem type are included
        problemSource - if not null only problems with this problem source are included
        Returns:
        the collection of problems
      • getProblems

        @NotNull
        Collection<SystemProblemEntry> getProblems​(@NotNull
                                                   SVcsRoot vcsRoot)
        Returns the set of system problems related to the given VCS Root. The problems associated with this VCS Root AND some Build Type are NOT included.
        Parameters:
        vcsRoot - VCS Root
        Returns:
        the collection of problems
      • getProblematicBuildTypes

        @NotNull
        Collection<SBuildType> getProblematicBuildTypes()
        Returns the set of Build Types having at least one system problem (directly or indirectly associated)
        Returns:
        the collection of problematic Build Types
      • getProblem

        @Nullable
        SystemProblem getProblem​(int id)
        Returns the problem by the given id
        Parameters:
        id - id od the problem
        Returns:
        the problem or null if no such problem found