public interface TestResultsDao extends BambooObjectDao<TestClassResult>
| Modifier and Type | Method and Description |
|---|---|
long |
countTestClassResults()
Count all TestClassResults
|
long |
countTestClassResults(PlanKey planKey)
Count TestClassResults for a Plan
|
Collection<? extends TestClassResult> |
findAll() |
TestClassResult |
findById(long testClassResultId)
Find a specific testClassResult by id
|
List<TestClassResult> |
getTestClassResults(PlanResultKey planResultKey)
Retrieves a list of all testClassResults for a BuildResultSummary
|
int |
removeTestClassResultsByPlan(PlanKey planKey)
Remove all
TestClassResult objects referenced by ResultsSummary objects identified by planKey |
int |
removeTestClassResultsByResult(long buildResultSummaryId)
Efficiently removes
TestClassResult objects referenced by ResultsSummary object |
long |
scrollTestClassResultsForExport(Consumer<TestClassResult> consumer)
Scroll through and execute function for each of TestClassResults
Objects passed to function are not fully initialized.
|
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAllTestClassResult findById(long testClassResultId)
testClassResultId - of the test you want to find@NotNull Collection<? extends TestClassResult> findAll()
long countTestClassResults()
long countTestClassResults(@NotNull
PlanKey planKey)
planKey - the Plan to count TestClassResults forlong scrollTestClassResultsForExport(@NotNull
Consumer<TestClassResult> consumer)
consumer - consumer to accept each of the TestClassResults@NotNull List<TestClassResult> getTestClassResults(@NotNull PlanResultKey planResultKey)
planResultKey - key of the BuildResultsSummary to get the tests class results forint removeTestClassResultsByPlan(@NotNull
PlanKey planKey)
TestClassResult objects referenced by ResultsSummary objects identified by planKeyplanKey - plan identifierint removeTestClassResultsByResult(long buildResultSummaryId)
TestClassResult objects referenced by ResultsSummary objectbuildResultSummaryId - Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.