diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2013-12-17 11:33:29 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2013-12-17 11:33:29 +0100 |
commit | 15daf634efb55ce0fe4e651483c7fbc8098db116 (patch) | |
tree | 443c405d41066aa3c53ca3b4c42646cd8a6aa42d /sonar-core | |
parent | 5072079eee5072af70d379f42ce384c7f2aab012 (diff) | |
download | sonarqube-15daf634efb55ce0fe4e651483c7fbc8098db116.tar.gz sonarqube-15daf634efb55ce0fe4e651483c7fbc8098db116.zip |
SONAR-4535 Index active rules when creating profile from xml
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleParamDto.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleParamDto.java b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleParamDto.java index 20dcad77895..babadef3556 100644 --- a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleParamDto.java +++ b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleParamDto.java @@ -25,6 +25,7 @@ public class ActiveRuleParamDto { private Integer id; private Integer activeRuleId; private Integer rulesParameterId; + private String key; private String value; public Integer getId() { @@ -54,6 +55,15 @@ public class ActiveRuleParamDto { return this; } + public String getKey() { + return key; + } + + public ActiveRuleParamDto setKey(String key) { + this.key = key; + return this; + } + public String getValue() { return value; } |