public interface TestsDao extends BambooObjectDao<TestClass>
| Modifier and Type | Method and Description |
|---|---|
long |
countTestClasses()
Count all TestClass records
|
Collection<? extends TestClass> |
findAll() |
TestClass |
findById(long testClassId)
Find a specific testClass by id
|
List<TestClass> |
getTestClassesForPlan(Plan plan)
Retrieve all test classes attached to a specific plan
|
long |
scrollTestClassesForExport(com.google.common.base.Function<TestClass,Void> function)
Scroll through and execute function for each of TestClass records
Objects passed to function are not fully initialized.
|
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll@Nullable TestClass findById(long testClassId)
testClassId - of the test class you want to find@NotNull Collection<? extends TestClass> findAll()
@NotNull List<TestClass> getTestClassesForPlan(Plan plan)
plan - the tests are attached tolong countTestClasses()
long scrollTestClassesForExport(@NotNull
com.google.common.base.Function<TestClass,Void> function)
function - function to be executed on each of the TestClass recordsCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.