aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-runner-batch-interface
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-runner-batch-interface')
-rw-r--r--sonar-runner-batch-interface/pom.xml10
-rw-r--r--sonar-runner-batch-interface/src/main/java/org/sonar/runner/batch/IsolatedLauncher.java12
2 files changed, 20 insertions, 2 deletions
diff --git a/sonar-runner-batch-interface/pom.xml b/sonar-runner-batch-interface/pom.xml
index d70c04a..9ccb3b9 100644
--- a/sonar-runner-batch-interface/pom.xml
+++ b/sonar-runner-batch-interface/pom.xml
@@ -7,5 +7,13 @@
</parent>
<artifactId>sonar-runner-batch-interface</artifactId>
- <name>SonarQube Runner - Batch API</name>
+ <name>SonarQube Runner - Batch Interface</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-home</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
</project>
diff --git a/sonar-runner-batch-interface/src/main/java/org/sonar/runner/batch/IsolatedLauncher.java b/sonar-runner-batch-interface/src/main/java/org/sonar/runner/batch/IsolatedLauncher.java
index 71d97c3..22fa54d 100644
--- a/sonar-runner-batch-interface/src/main/java/org/sonar/runner/batch/IsolatedLauncher.java
+++ b/sonar-runner-batch-interface/src/main/java/org/sonar/runner/batch/IsolatedLauncher.java
@@ -1,5 +1,5 @@
/*
- * SonarQube Runner - Batch API
+ * SonarQube Runner - Batch Interface
* Copyright (C) 2011 SonarSource
* dev@sonar.codehaus.org
*
@@ -19,11 +19,21 @@
*/
package org.sonar.runner.batch;
+import org.sonar.home.log.LogListener;
+
import java.util.List;
import java.util.Properties;
public interface IsolatedLauncher {
void start(Properties properties, List<Object> extensions);
+
+ void start(Properties properties, List<Object> extensions, LogListener logListener);
+
void stop();
+
void execute(Properties properties);
+
+ void executeOldVersion(Properties properties, List<Object> extensions);
+
+ String getVersion();
}