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(Consumer<TestClass> consumer)
Scroll through and execute function for each of TestClass records
Objects passed to function are not fully initialized.
|
org.hibernate.ScrollableResults |
scrollThroughTestClassesForPlan(Plan plan)
Scroll through all test classes attached to a specific plan, alphabetically by test class name.
|
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, 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 to@NotNull org.hibernate.ScrollableResults scrollThroughTestClassesForPlan(Plan plan)
plan
- the tests are attached tolong countTestClasses()
long scrollTestClassesForExport(@NotNull Consumer<TestClass> consumer)
consumer
- consumer to accept each of the TestClass recordsCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.