Class ProjectBuildProblemsBean


  • public class ProjectBuildProblemsBean
    extends Object
    User: Victory.Bedrosova Date: 5/21/13 Time: 2:20 PM
    • Method Detail

      • getProject

        @NotNull
        public SProject getProject()
      • getBuildProblemsNumber

        public int getBuildProblemsNumber()
      • createProjectBuildProblemsBean

        @Nullable
        public static ProjectBuildProblemsBean createProjectBuildProblemsBean​(@NotNull
                                                                              Collection<BuildProblem> buildProblems)
        Accepts the list of problems , groups them by projects, then finds the common project among them, then creates a tree of ProjectBuildProblemsBean beans with this common project as the root. Returns ProjectBuildProblemsBean corresponding to found common project.
        Parameters:
        buildProblems - collection of build problems
        Returns:
        null if collection of build problems is empty