public class LinkedJiraIssueHibernateDao extends BambooHibernateObjectDao<LinkedJiraIssue> implements LinkedJiraIssueDao
Constructor and Description |
---|
LinkedJiraIssueHibernateDao() |
Modifier and Type | Method and Description |
---|---|
Collection<LinkedJiraIssue> |
getLinkedJiraIssuesForBuildNumberRange(PlanKey planKey,
int firstBuildNumber,
int lastBuildNumber)
Find and retrieve all jira issues related to build results from specified range.
|
long |
scrollJiraIssuesForExport(Consumer<LinkedJiraIssue> consumer)
Scroll through and execute function for each of LinkedJiraIssue
Objects passed to function are not fully initialized.
|
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
public long scrollJiraIssuesForExport(@NotNull Consumer<LinkedJiraIssue> consumer)
LinkedJiraIssueDao
scrollJiraIssuesForExport
in interface LinkedJiraIssueDao
consumer
- consumer that will consume each of the LinkedJiraIssuespublic Collection<LinkedJiraIssue> getLinkedJiraIssuesForBuildNumberRange(@NotNull PlanKey planKey, int firstBuildNumber, int lastBuildNumber)
LinkedJiraIssueDao
getLinkedJiraIssuesForBuildNumberRange
in interface LinkedJiraIssueDao
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.