Class TestResultsHibernateDao

    • Method Detail

      • findById

        public TestClassResult findById​(long testClassId)
        Description copied from interface: TestResultsDao
        Find a specific testClassResult by id
        Specified by:
        findById in interface TestResultsDao
        Parameters:
        testClassId - of the test you want to find
        Returns:
        the testClassResult corresponding to the id provided.
      • countTestClassResults

        public long countTestClassResults​(@NotNull
                                          @NotNull PlanKey planKey)
        Description copied from interface: TestResultsDao
        Count TestClassResults for a Plan
        Specified by:
        countTestClassResults in interface TestResultsDao
        Parameters:
        planKey - the Plan to count TestClassResults for
        Returns:
        number of TestClassResults
      • scrollTestClassResultsForExport

        public long scrollTestClassResultsForExport​(@NotNull
                                                    @NotNull Consumer<TestClassResult> consumer)
        Description copied from interface: TestResultsDao
        Scroll through and execute function for each of TestClassResults Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.
        Specified by:
        scrollTestClassResultsForExport in interface TestResultsDao
        Parameters:
        consumer - consumer to accept each of the TestClassResults
        Returns:
        number of traversed rows
      • getTestClassResults

        @NotNull
        public @NotNull List<TestClassResult> getTestClassResults​(@NotNull
                                                                  @NotNull PlanResultKey planResultKey)
        Description copied from interface: TestResultsDao
        Retrieves a list of all testClassResults for a BuildResultSummary
        Specified by:
        getTestClassResults in interface TestResultsDao
        Parameters:
        planResultKey - key of the BuildResultsSummary to get the tests class results for
        Returns:
        a list of all testClassResults for the BuildResultSummary