diff options
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/AnalysisMode.java | 5 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/internal/MockAnalysisMode.java | 10 |
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; - } } |