public class DefaultServerFileSystem extends Object implements ServerFileSystem
| Constructor and Description |
|---|
DefaultServerFileSystem(Database database,
File homeDir,
File deployDir)
for unit tests
|
DefaultServerFileSystem(Database database,
Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
getCorePlugins() |
File |
getDeployDir() |
File |
getDeployedJdbcDriver() |
File |
getDeployedPluginsDir() |
File |
getDeprecatedPluginsDir() |
File |
getDownloadedPluginsDir() |
List<File> |
getExtensions(String dirName,
String... suffixes) |
File |
getHomeDir() |
File |
getJdbcDriver() |
List<File> |
getPluginExtensionXml(String pluginKey) |
File |
getPluginIndex() |
File |
getRemovedPluginsDir() |
File |
getTempDir() |
List<File> |
getUserPlugins() |
File |
getUserPluginsDir() |
void |
start() |
public DefaultServerFileSystem(Database database, Settings settings)
public DefaultServerFileSystem(Database database, File homeDir, File deployDir)
public void start()
public File getHomeDir()
getHomeDir in interface ServerFileSystempublic File getTempDir()
getTempDir in interface ServerFileSystempublic File getDeployDir()
public File getDeployedJdbcDriver()
public File getDeployedPluginsDir()
public File getDownloadedPluginsDir()
public File getRemovedPluginsDir()
public File getJdbcDriver()
public List<File> getCorePlugins()
public List<File> getUserPlugins()
public File getUserPluginsDir()
public File getDeprecatedPluginsDir()
public File getPluginIndex()
public List<File> getExtensions(String dirName, String... suffixes)
getExtensions in interface ServerFileSystemsuffixes - the file suffixes. If null, then return all the files, whatever their suffixpublic List<File> getPluginExtensionXml(String pluginKey)
Copyright © 2009-2012 SonarSource. All Rights Reserved.