diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-02-09 16:36:23 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-02-09 16:36:23 +0100 |
commit | 916f7021154eae9c7c88f0f219884d972573209c (patch) | |
tree | 521298ebafdd7db56d34ab908ea7f3b2822c10f0 /sonar-plugin-api | |
parent | 8f8e96192f36aa13496ebfe7bbaf333de8a92e35 (diff) | |
parent | 72f64c95fdef18ec950d341c1a9093f30087e1c1 (diff) | |
download | sonarqube-916f7021154eae9c7c88f0f219884d972573209c.tar.gz sonarqube-916f7021154eae9c7c88f0f219884d972573209c.zip |
Merge branch 'branch-6.7'
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java index 467b7429299..7612949f7e3 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/Rule.java @@ -400,6 +400,11 @@ public class Rule { return systemTags == null ? new String[0] : StringUtils.split(systemTags, ','); } + public Rule setSystemTags(String[] tags) { + this.systemTags = tags == null ? null : StringUtils.join(tags, ','); + return this; + } + /** * For internal use only. * |