summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-17 11:33:29 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-17 11:33:29 +0100
commit15daf634efb55ce0fe4e651483c7fbc8098db116 (patch)
tree443c405d41066aa3c53ca3b4c42646cd8a6aa42d /sonar-core
parent5072079eee5072af70d379f42ce384c7f2aab012 (diff)
downloadsonarqube-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.java10
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;
}