diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-04-16 19:05:09 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-04-16 19:05:09 +0200 |
commit | 8ea5c540ef2c1c9e22e06b717758a0d2dcb647a5 (patch) | |
tree | 12623b8fcbf7404931ecb8cabc42806e9f328384 /sonar-batch | |
parent | b86b183dfd764d432e353ce19a243ca321dd4f63 (diff) | |
download | sonarqube-8ea5c540ef2c1c9e22e06b717758a0d2dcb647a5.tar.gz sonarqube-8ea5c540ef2c1c9e22e06b717758a0d2dcb647a5.zip |
Replacement injection of ServletContext by Properties in Platform
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/bootstrap/ServerMetadata.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ServerMetadata.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ServerMetadata.java index cf664e315df..01d2b5915c1 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ServerMetadata.java +++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ServerMetadata.java @@ -27,6 +27,7 @@ import org.sonar.api.CoreProperties; import org.sonar.api.config.Settings; import org.sonar.api.platform.Server; +import java.io.File; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; @@ -70,6 +71,21 @@ public class ServerMetadata extends Server implements BatchComponent { } @Override + public File getRootDir() { + return null; + } + + @Override + public File getDeployDir() { + return null; + } + + @Override + public String getContextPath() { + return null; + } + + @Override public String getURL() { return client.getURL(); } |