From ebdcc2b9ebb2547a534eebe5a6e71c8f727f56d4 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Tue, 14 Sep 2021 10:24:28 -0500 Subject: [PATCH] SONAR-15194 Deprecate 'ProfileExporter' and 'ProfileImporter' in the Java API --- .../src/main/java/org/sonar/api/profiles/ProfileExporter.java | 2 ++ .../src/main/java/org/sonar/api/profiles/ProfileImporter.java | 2 ++ 2 files changed, 4 insertions(+) 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]; -- 2.39.5