Interface LinkedJiraIssueDao
-
- All Superinterfaces:
BambooObjectDao<LinkedJiraIssue>
- All Known Implementing Classes:
LinkedJiraIssueHibernateDao
@Internal public interface LinkedJiraIssueDao extends BambooObjectDao<LinkedJiraIssue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<LinkedJiraIssue>
getLinkedJiraIssuesForBuildNumberRange(@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 Detail
-
scrollJiraIssuesForExport
long scrollJiraIssuesForExport(@NotNull @NotNull Consumer<LinkedJiraIssue> consumer)
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:
-
-