Interface LinkedJiraIssueDao
- All Superinterfaces:
BambooObjectDao<LinkedJiraIssue>
- All Known Implementing Classes:
LinkedJiraIssueHibernateDao
-
Method Summary
Modifier and TypeMethodDescriptiongetLinkedJiraIssuesForBuildNumberRange
(@NotNull PlanKey planKey, int firstBuildNumber, int currentBuildNumber) Find and retrieve all jira issues related to build results from specified range.long
scrollJiraIssuesForExport
(@NotNull Consumer<LinkedJiraIssue> consumer) Scroll through and execute function for each of LinkedJiraIssue Objects passed to function are not fully initialized.Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Method Details
-
scrollJiraIssuesForExport
Scroll through and execute function for each of LinkedJiraIssue Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.- Parameters:
consumer
- consumer that will consume each of the LinkedJiraIssues- Returns:
- number of traversed rows
-
getLinkedJiraIssuesForBuildNumberRange
Collection<LinkedJiraIssue> getLinkedJiraIssuesForBuildNumberRange(@NotNull @NotNull PlanKey planKey, int firstBuildNumber, int currentBuildNumber) Find and retrieve all jira issues related to build results from specified range. Once off results are skipped.- Parameters:
planKey
-firstBuildNumber
-currentBuildNumber
-- Returns:
-