diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-07-26 14:14:33 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-07-29 10:31:31 +0200 |
commit | 7ce0fb39f58c6fd4d01075944e1756909fd6abc3 (patch) | |
tree | 57f20c617ec40e7031a12abb17d08b87cc984c57 /sonar-plugin-api/src | |
parent | 13c05cb112bb10b2706d97b432d8208cd503208f (diff) | |
download | sonarqube-7ce0fb39f58c6fd4d01075944e1756909fd6abc3.tar.gz sonarqube-7ce0fb39f58c6fd4d01075944e1756909fd6abc3.zip |
SONAR-7899 Refactor server file system
- new interface org.sonar.server.platform.ServerFileSystem
- deprecate org.sonar.api.platform.Server#getDeployDir()
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/platform/ServerFileSystem.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/platform/ServerFileSystem.java b/sonar-plugin-api/src/main/java/org/sonar/api/platform/ServerFileSystem.java index 334b663ea88..fc84199973d 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/platform/ServerFileSystem.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/platform/ServerFileSystem.java @@ -30,8 +30,16 @@ import org.sonar.api.server.ServerSide; @ComputeEngineSide public interface ServerFileSystem { + /** + * Root directory of the server installation + * @return an existing directory + */ File getHomeDir(); + /** + * Temporary directory, clean up on restarts + * @return an existing directory + */ File getTempDir(); } |