aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Rule.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws-client/src/main/java/org/sonar/wsclient/services/Rule.java')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/services/Rule.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Rule.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Rule.java
index 9407dd776cf..d7b4d267b88 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Rule.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Rule.java
@@ -28,6 +28,7 @@ public class Rule extends Model {
private String title = null;
private String key = null;
+ private String configKey = null;
private String repository = null;
private String description = null;
private String severity = null;
@@ -52,6 +53,22 @@ public class Rule extends Model {
return this;
}
+ /**
+ * @since 2.7
+ */
+ public String getConfigKey() {
+ return configKey;
+ }
+
+ /**
+ * @since 2.7
+ */
+
+ public Rule setConfigKey(String s) {
+ this.configKey = s;
+ return this;
+ }
+
public String getRepository() {
return repository;
}