aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-05-23 10:29:04 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-05-23 10:29:04 +0200
commit22804e92cf169785138b2d41828faaff7bb1dc64 (patch)
treed52d4aef3afae6b85e6468d8e8ce2c0ef85517fe /sonar-plugin-api/src
parent257c6f2ace775d35a87daf644e3842fa60f07671 (diff)
downloadsonarqube-22804e92cf169785138b2d41828faaff7bb1dc64.tar.gz
sonarqube-22804e92cf169785138b2d41828faaff7bb1dc64.zip
SONAR-4329 Create a new CONFIRMED status for Issues
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java1
2 files changed, 3 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java
index 8ba23b9aa83..0b66844d16e 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java
@@ -23,6 +23,8 @@ package org.sonar.api.issue;
* @since 3.6
*/
public interface DefaultTransitions {
+ String CONFIRM = "confirm";
+ String UNCONFIRM = "unconfirm";
String REOPEN = "reopen";
String RESOLVE = "resolve";
String FALSE_POSITIVE = "falsepositive";
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
index 36bf2abc812..4122e73212a 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
@@ -36,6 +36,7 @@ public interface Issue extends Serializable {
int MESSAGE_MAX_SIZE = 4000;
String STATUS_OPEN = "OPEN";
+ String STATUS_CONFIRMED = "CONFIRMED";
String STATUS_REOPENED = "REOPENED";
String STATUS_RESOLVED = "RESOLVED";
String STATUS_CLOSED = "CLOSED";