From: Duarte Meneses Date: Tue, 14 Sep 2021 15:24:28 +0000 (-0500) Subject: SONAR-15194 Deprecate 'ProfileExporter' and 'ProfileImporter' in the Java API X-Git-Tag: 9.1.0.47736~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ebdcc2b9ebb2547a534eebe5a6e71c8f727f56d4;p=sonarqube.git SONAR-15194 Deprecate 'ProfileExporter' and 'ProfileImporter' in the Java API --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileExporter.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileExporter.java index 70b1fedc55f..d3820d2c8f1 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileExporter.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileExporter.java @@ -30,9 +30,11 @@ import org.sonar.api.server.ServerSide; * Export quality profile rules to a file * * @since 2.3 + * @deprecated since 9.1. Web services should be used instead. */ @ServerSide @ExtensionPoint +@Deprecated public abstract class ProfileExporter { private String[] supportedLanguages = new String[0]; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java index c40cf279e6a..e4920066058 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java @@ -30,9 +30,11 @@ import org.sonar.api.utils.ValidationMessages; * Create a quality profile from an external rules file. * * @since 2.3 + * @deprecated since 9.1. Web services should be used instead. */ @ServerSide @ExtensionPoint +@Deprecated public abstract class ProfileImporter { private String[] supportedLanguages = new String[0];