diff options
author | Steve Marion <unknown> | 2023-07-20 15:17:54 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-08-02 20:03:03 +0000 |
commit | ed50d0636f78948fdc36cdc086cabe5eafe54c2d (patch) | |
tree | 84b4c97622895d10cca7b1dc02d2bbe762486046 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | |
parent | 4f214cb37958b2cceddfe33c3bd10d7de260e219 (diff) | |
download | sonarqube-ed50d0636f78948fdc36cdc086cabe5eafe54c2d.tar.gz sonarqube-ed50d0636f78948fdc36cdc086cabe5eafe54c2d.zip |
SONAR-19372 add anticipated_transitions table
Diffstat (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java')
-rw-r--r-- | server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java index f1b9fa30b15..47d6813b549 100644 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java @@ -43,6 +43,7 @@ import org.sonar.db.entity.EntityDao; import org.sonar.db.es.EsQueueDao; import org.sonar.db.event.EventComponentChangeDao; import org.sonar.db.event.EventDao; +import org.sonar.db.issue.AnticipatedTransitionDao; import org.sonar.db.issue.IssueChangeDao; import org.sonar.db.issue.IssueDao; import org.sonar.db.measure.LiveMeasureDao; @@ -180,6 +181,7 @@ public class DbClient { private final ScimUserDao scimUserDao; private final ScimGroupDao scimGroupDao; private final EntityDao entityDao; + private final AnticipatedTransitionDao anticipatedTransitionDao; private final ReportScheduleDao reportScheduleDao; private final ReportSubscriptionDao reportSubscriptionDao; @@ -270,6 +272,7 @@ public class DbClient { entityDao = getDao(map, EntityDao.class); reportScheduleDao = getDao(map, ReportScheduleDao.class); reportSubscriptionDao = getDao(map, ReportSubscriptionDao.class); + anticipatedTransitionDao = getDao(map, AnticipatedTransitionDao.class); } public DbSession openSession(boolean batch) { @@ -590,12 +593,16 @@ public class DbClient { return entityDao; } - public ReportScheduleDao reportScheduleDao(){ + public ReportScheduleDao reportScheduleDao() { return reportScheduleDao; } public ReportSubscriptionDao reportSubscriptionDao() { return reportSubscriptionDao; } + + public AnticipatedTransitionDao anticipatedTransitionDao() { + return anticipatedTransitionDao; + } } |