]> source.dussan.org Git - sonarqube.git/commit
SONAR-9973 TaskContainer now support errors during start of components
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 2 Nov 2017 10:44:33 +0000 (11:44 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 3 Nov 2017 13:29:16 +0000 (14:29 +0100)
commita3797f6396c81785963c4072bead514c59ccf76c
tree573e9eefba2cac56e8aed22644d86361cbb52c9a
parentf93a0750234389011b387a1ee90e87f3f875c6ec
SONAR-9973 TaskContainer now support errors during start of components

TaskContainer must now be started by a specific method call #bootup() (rather than it being started in constructor)
TaskContainer is now AutoCloseable (method cleanup() is therefor replaced by method close())
This change will break at compile time and runtime plugins relying on TaskContainer and TaskContainerImpl
server/sonar-server/src/main/java/org/sonar/server/computation/task/container/TaskContainer.java
server/sonar-server/src/main/java/org/sonar/server/computation/task/container/TaskContainerImpl.java
server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/taskprocessor/ReportTaskProcessor.java
server/sonar-server/src/test/java/org/sonar/server/computation/task/container/TaskContainerImplTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/task/projectanalysis/container/ProjectAnalysisTaskContainerPopulatorTest.java