aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/main/java/org/sonar/scanner
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-07-18 11:07:22 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-07-18 15:23:54 +0200
commit5fddece10c608fa2acbe8d1de1d6c9fa2eab6e56 (patch)
tree6ed88112d7558c3ea796d9c9f081bfdb1be68c08 /sonar-scanner-engine/src/main/java/org/sonar/scanner
parent7cdbfc9e015093f8f2c58b43a106e6b347728bcf (diff)
downloadsonarqube-5fddece10c608fa2acbe8d1de1d6c9fa2eab6e56.tar.gz
sonarqube-5fddece10c608fa2acbe8d1de1d6c9fa2eab6e56.zip
SONAR-7876 Add SensorContext::isCancelled in the API
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java
index a2e4ca8f932..d3cb867c509 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/sensor/DefaultSensorContext.java
@@ -153,4 +153,9 @@ public class DefaultSensorContext implements SensorContext {
return NO_OP_NEW_ANALYSIS_ERROR;
}
+ @Override
+ public boolean isCancelled() {
+ return false;
+ }
+
}