aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2018-11-09 11:19:38 +0100
committersonartech <sonartech@sonarsource.com>2019-01-16 09:42:59 +0100
commitaec83bafc952d4786fa9552fb8749c9efce517b5 (patch)
tree2ea35a254dd7c52b7387368152bf51c209ff5b46 /sonar-plugin-api
parent0348fbfef3d9268003ffda07a81b85ec9a35b97c (diff)
downloadsonarqube-aec83bafc952d4786fa9552fb8749c9efce517b5.tar.gz
sonarqube-aec83bafc952d4786fa9552fb8749c9efce517b5.zip
SONAR-11465 Introduce a new annotation for project level extensions
and deprecate issue filters
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/ScannerSide.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/package-info.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java2
4 files changed, 7 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/ScannerSide.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/ScannerSide.java
index 9158e4f4fb5..e69ce941a98 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/ScannerSide.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/ScannerSide.java
@@ -44,7 +44,9 @@ import java.lang.annotation.Target;
* </pre>
*
* @since 6.0
+ * @deprecated since 7.6 use {@link org.sonar.api.scanner.ScannerSide} that will move the component to the project container
*/
+@Deprecated
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/package-info.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/package-info.java
index f9e75219d24..28d70972fa3 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/package-info.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/package-info.java
@@ -18,4 +18,4 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
@javax.annotation.ParametersAreNonnullByDefault
-package org.sonar.api.batch.sensor;
+package org.sonar.api.batch;
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java
index 9c9e3375898..09f7a2f37e1 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/FilterableIssue.java
@@ -27,8 +27,10 @@ import org.sonar.api.rule.RuleKey;
/**
* @since 5.3
+ * @deprecated since 7.6
*/
@ThreadSafe
+@Deprecated
public interface FilterableIssue {
/**
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java
index eea90b73454..0db66a578d3 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/scan/issue/filter/IssueFilter.java
@@ -32,7 +32,9 @@ import org.sonarsource.api.sonarlint.SonarLintSide;
@ThreadSafe
/**
* @since 5.3
+ * @deprecated since 7.6
*/
+@Deprecated
public interface IssueFilter {
/**