summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-01-15 18:36:09 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-01-15 18:36:09 +0100
commit6155831019abaf50a3f820893ae89d85baa892c6 (patch)
treedb26bf77f34b4c71310bb22d6f14ce520c1fa0ae
parentf518d075e1034e6af936babfa9c3fb6583469987 (diff)
downloadsonarqube-6155831019abaf50a3f820893ae89d85baa892c6.tar.gz
sonarqube-6155831019abaf50a3f820893ae89d85baa892c6.zip
Add minor comment in RuleDefinitions
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rule/RuleDefinitions.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rule/RuleDefinitions.java b/sonar-plugin-api/src/main/java/org/sonar/api/rule/RuleDefinitions.java
index 6ad3136afb3..071d83c7ce6 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/rule/RuleDefinitions.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/rule/RuleDefinitions.java
@@ -87,6 +87,9 @@ public interface RuleDefinitions extends ServerExtension {
static interface NewExtendedRepository {
NewRule newRule(String ruleKey);
+ /**
+ * Reads definitions of rules from the annotations provided by the library sonar-check-api.
+ */
void loadAnnotatedClasses(Class... classes);
void done();