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

* Export quality profile rules to a file * Export quality profile rules to a file
* *
* @since 2.3 * @since 2.3
* @deprecated since 9.1. Web services should be used instead.
*/ */
@ServerSide @ServerSide
@ExtensionPoint @ExtensionPoint
@Deprecated
public abstract class ProfileExporter { public abstract class ProfileExporter {


private String[] supportedLanguages = new String[0]; private String[] supportedLanguages = new String[0];

+ 2
- 0
sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileImporter.java View File

* Create a quality profile from an external rules file. * Create a quality profile from an external rules file.
* *
* @since 2.3 * @since 2.3
* @deprecated since 9.1. Web services should be used instead.
*/ */
@ServerSide @ServerSide
@ExtensionPoint @ExtensionPoint
@Deprecated
public abstract class ProfileImporter { public abstract class ProfileImporter {


private String[] supportedLanguages = new String[0]; private String[] supportedLanguages = new String[0];

Loading…
Cancel
Save