aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-10-01 17:43:48 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2013-10-01 19:13:05 +0200
commitd5469bcf74ed60bbe35d5acd3391f5e3882b08d3 (patch)
treea4cfab3968590f78e3d49361de85f72b068235e3 /sonar-plugin-api
parent98c5f3e51ce74a98fd70b7c6855b637371e7371d (diff)
downloadsonarqube-d5469bcf74ed60bbe35d5acd3391f5e3882b08d3.tar.gz
sonarqube-d5469bcf74ed60bbe35d5acd3391f5e3882b08d3.zip
SONAR-2657, SONAR-3677 Compute file hash and introduce partial analysis mode
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java6
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileSystemFilter.java2
2 files changed, 6 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
index 9aa3b74b85b..f654f1b0d57 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/CoreProperties.java
@@ -126,7 +126,6 @@ public interface CoreProperties {
*/
String CATEGORY_TECHNICAL_DEBT = "technicalDebt";
-
/* Global settings */
String SONAR_HOME = "SONAR_HOME";
String PROJECT_BRANCH_PROPERTY = "sonar.branch";
@@ -470,4 +469,9 @@ public interface CoreProperties {
* @since 4.0
*/
String CORE_PREVENT_AUTOMATIC_PROJECT_CREATION = "sonar.preventAutoProjectCreation";
+
+ /**
+ * @since 4.0
+ */
+ String PARTIAL_ANALYSIS = "sonar.partialAnalysis";
}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileSystemFilter.java b/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileSystemFilter.java
index 4fb17dcebf4..7d03441df56 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileSystemFilter.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/scan/filesystem/FileSystemFilter.java
@@ -36,7 +36,7 @@ public interface FileSystemFilter extends BatchExtension {
/**
* Plugins must not implement this interface. It is provided at runtime.
*/
- interface Context {
+ public interface Context {
ModuleFileSystem fileSystem();
FileType type();