diff options
author | Pierre Guillot <50145663+pierre-guillot-sonarsource@users.noreply.github.com> | 2019-05-10 16:44:14 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-05-22 20:21:14 +0200 |
commit | 020c4390d4d830041ec5f640a543d2f56101c16f (patch) | |
tree | fa2af9accba07045b0af34fa932694e30c2d0b02 /sonar-plugin-api/src | |
parent | d6b083849c60a53e15765e8c8b98122e4c082e6a (diff) | |
download | sonarqube-020c4390d4d830041ec5f640a543d2f56101c16f.tar.gz sonarqube-020c4390d4d830041ec5f640a543d2f56101c16f.zip |
SONAR-12026 Add transition "Open as Vulnerability"
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java | 7 |
1 files changed, 6 insertions, 1 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 b6869181373..b000f18aa21 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 @@ -62,8 +62,13 @@ public interface DefaultTransitions { String RESOLVE_AS_REVIEWED = "resolveasreviewed"; /** + * @since 7.8 + */ + String OPEN_AS_VULNERABILITY = "openasvulnerability"; + + /** * @since 4.4 */ List<String> ALL = unmodifiableList(asList(CONFIRM, UNCONFIRM, REOPEN, RESOLVE, FALSE_POSITIVE, WONT_FIX, CLOSE, - DETECT, DISMISS, REJECT, SET_AS_IN_REVIEW, ACCEPT, CLEAR, REOPEN_HOTSPOT, RESOLVE_AS_REVIEWED)); + DETECT, DISMISS, REJECT, SET_AS_IN_REVIEW, ACCEPT, CLEAR, REOPEN_HOTSPOT, RESOLVE_AS_REVIEWED, OPEN_AS_VULNERABILITY)); } |