aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-04-12 14:46:05 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-04-12 14:46:05 +0200
commitf3461ab00d488735d61472e95ffedd4429dfa8f3 (patch)
tree54250d0faa0b6af9ae465a69c182a9f69d8a7a9e /sonar-plugin-api
parent3f782b64d76ebb1de03e8eb6d1f902a6bbba63de (diff)
downloadsonarqube-f3461ab00d488735d61472e95ffedd4429dfa8f3.tar.gz
sonarqube-f3461ab00d488735d61472e95ffedd4429dfa8f3.zip
SONAR-2347 Add the column RULE_FAILURES.PERMANENT_ID
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/database/model/RuleFailureModel.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/RuleFailureModel.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/RuleFailureModel.java
index fdcd25583e0..ac682815b55 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/RuleFailureModel.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/RuleFailureModel.java
@@ -62,6 +62,9 @@ public class RuleFailureModel extends BaseIdentifiable {
@Column(name = "checksum", updatable = true, nullable = true, length = 1000)
private String checksum;
+ @Column(name = "permanent_id", updatable = true, nullable = true)
+ private Integer permanentId;
+
public String getMessage() {
return message;
}
@@ -147,6 +150,15 @@ public class RuleFailureModel extends BaseIdentifiable {
this.checksum = checksum;
}
+ public Integer getPermanentId() {
+ return permanentId;
+ }
+
+ public RuleFailureModel setPermanentId(Integer i) {
+ this.permanentId = i;
+ return this;
+ }
+
@Override
public boolean equals(Object obj) {
if (!(obj instanceof RuleFailureModel)) {