diff options
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. * |