aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2017-07-31 16:28:14 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2017-08-04 14:58:16 +0200
commit34b0fd70f5c0e5b4298cba0b2fefe4a1688f7622 (patch)
tree3a69e23621a7bfe942a5d6f8f177ffe21d284468 /sonar-plugin-api
parent6cedf507a95545611c31813a427f43291beeadfc (diff)
downloadsonarqube-34b0fd70f5c0e5b4298cba0b2fefe4a1688f7622.tar.gz
sonarqube-34b0fd70f5c0e5b4298cba0b2fefe4a1688f7622.zip
SONAR-9528 Deprecate Initializer extension point
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/Initializer.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/Initializer.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/Initializer.java
index 6d66cd5615a..7010bb3b246 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/Initializer.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/Initializer.java
@@ -28,9 +28,11 @@ import org.sonar.api.resources.Project;
* Initializer are executed at the very beginning of each module analysis, prior the core listing files to be analyzed. It means {@link FileSystem} should not be accessed.
* <p>
* @since 2.6
+ * @deprecated since 6.6 no known valid use case
*/
@ScannerSide
@ExtensionPoint
+@Deprecated
public abstract class Initializer implements CheckProject {
/**
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java
index a1862277c0c..b12b06824ac 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/PostJob.java
@@ -29,7 +29,7 @@ import org.sonar.api.resources.Project;
* it is an asynchronous processing on server side.
*
* @since 1.10
- * @deprecated since 5.6 use org.sonar.api.batch.postjob.PostJob
+ * @deprecated since 5.6 use {@link org.sonar.api.batch.postjob.PostJob}
*/
@Deprecated
@ScannerSide