aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2021-06-07 09:23:19 -0500
committersonartech <sonartech@sonarsource.com>2021-06-08 20:07:10 +0000
commitaf1dfa3745c8e6257a4bbbb4129d5cff3e67b730 (patch)
tree8a7d4683a3d1d897b9ee024ec8c3e3703ec2aac4 /sonar-plugin-api/src/main/java
parent8b49d15421715159733e1401d5c3247670556573 (diff)
downloadsonarqube-af1dfa3745c8e6257a4bbbb4129d5cff3e67b730.tar.gz
sonarqube-af1dfa3745c8e6257a4bbbb4129d5cff3e67b730.zip
SONAR-14908 Deprecate 'RulesDefinitionXmlLoader' in the Sonar plugin API
Diffstat (limited to 'sonar-plugin-api/src/main/java')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java
index 034ee858dfb..22761952985 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java
@@ -182,6 +182,7 @@ import static org.apache.commons.lang.StringUtils.trim;
*
* @see org.sonar.api.server.rule.RulesDefinition
* @since 4.3
+ * @deprecated since 9.0. Use the sonar-check-api to annotate rule classes instead of loading the metadata from XML files. See {@link org.sonar.check.Rule}.
*/
@ServerSide
@ComputeEngineSide