aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2017-09-25 16:33:31 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2017-09-27 14:50:52 +0200
commite7868aa03dc555ac4839d0a7c96c7708deb6d6de (patch)
tree392a2b901ebbabbdec5723b9707173d8ae758ccb /sonar-plugin-api
parent489725dae8e137b669d596a9c9a53e86e6eee2ac (diff)
downloadsonarqube-e7868aa03dc555ac4839d0a7c96c7708deb6d6de.tar.gz
sonarqube-e7868aa03dc555ac4839d0a7c96c7708deb6d6de.zip
SONAR-9575 Revert all changes made to support incremental mode
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/AnalysisMode.java5
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java10
2 files changed, 0 insertions, 15 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/AnalysisMode.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/AnalysisMode.java
index e6547b0856d..266a3b5476a 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/AnalysisMode.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/AnalysisMode.java
@@ -37,9 +37,4 @@ public interface AnalysisMode {
boolean isPublish();
- /**
- * When incremental analysis is enabled (means not all files of a project are analyzed)
- * @since 6.6
- */
- boolean isIncremental();
}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java
index f3f45311cf7..0c3290d03b6 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java
@@ -23,7 +23,6 @@ import org.sonar.api.batch.AnalysisMode;
public class MockAnalysisMode implements AnalysisMode {
private boolean previewOrIssue = false;
- private boolean incremental = false;
@Override
public boolean isPreview() {
@@ -43,13 +42,4 @@ public class MockAnalysisMode implements AnalysisMode {
public boolean isPublish() {
return !previewOrIssue;
}
-
- @Override
- public boolean isIncremental() {
- return incremental;
- }
-
- public void setIncremental(boolean incremental) {
- this.incremental = incremental;
- }
}