|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestsDao
Dao for retrieving and manipulating Test Objects (e.g TestClass, TestCase)
Method Summary | |
---|---|
long |
countTestClasses()
Count all TestClass records |
java.util.Collection<? extends TestClass> |
findAll()
|
TestClass |
findById(long testClassId)
Find a specific testClass by id |
java.util.List<TestClass> |
getTestClassesForPlan(Plan plan)
Retrieve all test classes attached to a specific plan |
long |
scrollTestClassesForExport(com.google.common.base.Function<TestClass,java.lang.Void> function)
Scroll through and execute function for each of TestClass records Objects passed to function are not fully initialized. |
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
Method Detail |
---|
@Nullable TestClass findById(long testClassId)
testClassId
- of the test class you want to find
@NotNull java.util.Collection<? extends TestClass> findAll()
@NotNull java.util.List<TestClass> getTestClassesForPlan(Plan plan)
plan
- the tests are attached to
long countTestClasses()
long scrollTestClassesForExport(@NotNull com.google.common.base.Function<TestClass,java.lang.Void> function)
function
- function to be executed on each of the TestClass records
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |