]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15194 Deprecate 'ProfileExporter' and 'ProfileImporter' in the Java API
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Tue, 14 Sep 2021 15:24:28 +0000 (10:24 -0500)
committersonartech <sonartech@sonarsource.com>
Thu, 16 Sep 2021 20:03:31 +0000 (20:03 +0000)
sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileExporter.java
sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java

index 70b1fedc55fbbb57af669f8bdea68cb825422638..d3820d2c8f1cd5594ea07842d3e9559f2ea844cc 100644 (file)
@@ -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];
index c40cf279e6adade201c201eeb3db2a1c0142b219..e49200660589b0aced32e78c5303e987876bdf09 100644 (file)
@@ -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];