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(com.google.common.base.Function<TestClassResult,Void> function)
Scroll through and execute function for each of TestClassResults
Objects passed to function are not fully initialized.
|
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, 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
com.google.common.base.Function<TestClassResult,Void> function)
function - function to be executed on 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 © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.