aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-14 16:41:49 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-14 16:42:49 +0100
commitf543653d4fc293d7d3f0a025665ac0a5c275c6b4 (patch)
tree3f99de91cfd83ef1fd28b5bd8046ab30ed345c68 /sonar-plugin-api
parent62ca0c46b1a4e5a17e3a6d19d1b461d8a2ddd1f2 (diff)
downloadsonarqube-f543653d4fc293d7d3f0a025665ac0a5c275c6b4.tar.gz
sonarqube-f543653d4fc293d7d3f0a025665ac0a5c275c6b4.zip
SONAR-2251 Unstable state of violations when stopping a build
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/database/model/RuleFailureModel.java8
1 files changed, 8 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 ae0f9531c89..fdcd25583e0 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
@@ -74,10 +74,18 @@ public class RuleFailureModel extends BaseIdentifiable {
return StringUtils.abbreviate(StringUtils.trim(message), MESSAGE_COLUMN_SIZE);
}
+ /**
+ * @deprecated since 2.7. Replace by getPriority()
+ */
+ @Deprecated
public RulePriority getLevel() {
return priority;
}
+ /**
+ * @deprecated since 2.7. Replace by setPriority()
+ */
+ @Deprecated
public void setLevel(RulePriority priority) {
this.priority = priority;
}