aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-08-16 16:03:25 +0200
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-09-12 10:59:56 +0200
commit6affc4080d8b98d499174f64e2c86c84cbd2872d (patch)
tree2c737e253ee9db89d53fee73e31f2f5896ad41e9 /sonar-plugin-api
parentfe946b35cfad0e572dc07408e6ac1fabc9f65958 (diff)
downloadsonarqube-6affc4080d8b98d499174f64e2c86c84cbd2872d.tar.gz
sonarqube-6affc4080d8b98d499174f64e2c86c84cbd2872d.zip
SONAR-9720 Issue tracking for long branches
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java6
1 files changed, 6 insertions, 0 deletions
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 4ed5b6750c9..9d4ffe43763 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
@@ -207,6 +207,12 @@ public interface Issue extends Serializable {
boolean isNew();
/**
+ * During a scan returns true if the issue is copied from another branch.
+ * @since 6.6
+ */
+ boolean isCopied();
+
+ /**
* @deprecated since 5.5, replaced by {@link #effort()}
*/
@Deprecated