diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-09-14 10:24:28 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-09-16 20:03:31 +0000 |
commit | ebdcc2b9ebb2547a534eebe5a6e71c8f727f56d4 (patch) | |
tree | edb5bc4ad7fbed4c33fdbcb933c87399e79a1e4b /sonar-plugin-api/src/main/java/org/sonar/api | |
parent | 7e0281b0d3502036ad67a633e54a59627a5a925a (diff) | |
download | sonarqube-ebdcc2b9ebb2547a534eebe5a6e71c8f727f56d4.tar.gz sonarqube-ebdcc2b9ebb2547a534eebe5a6e71c8f727f56d4.zip |
SONAR-15194 Deprecate 'ProfileExporter' and 'ProfileImporter' in the Java API
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileExporter.java | 2 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java | 2 |
2 files changed, 4 insertions, 0 deletions
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]; |