From af1dfa3745c8e6257a4bbbb4129d5cff3e67b730 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Mon, 7 Jun 2021 09:23:19 -0500 Subject: SONAR-14908 Deprecate 'RulesDefinitionXmlLoader' in the Sonar plugin API --- .../main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java | 1 + 1 file changed, 1 insertion(+) (limited to 'sonar-plugin-api/src/main/java') 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 -- cgit v1.2.3