Browse Source

SONAR-15194 Deprecate 'ProfileExporter' and 'ProfileImporter' in the Java API

tags/9.1.0.47736
Duarte Meneses 2 years ago
parent
commit
ebdcc2b9eb

+ 2
- 0
sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileExporter.java View 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];

+ 2
- 0
sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java View 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];

Loading…
Cancel
Save