com.atlassian.confluence.plugin
Class SimplePluginDirectoryProvider
java.lang.Object
com.atlassian.confluence.plugin.SimplePluginDirectoryProvider
- All Implemented Interfaces:
- PluginDirectoryProvider
public class SimplePluginDirectoryProvider
- extends Object
- implements PluginDirectoryProvider
Creates the standard set of plugin directories as subdirectories of a provided parent directory.
Location of the parent directory is delegated to an external provider.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePluginDirectoryProvider
public SimplePluginDirectoryProvider(PluginParentDirectoryLocator directoryLocator)
getPluginDirectory
public File getPluginDirectory()
- Specified by:
getPluginDirectory
in interface PluginDirectoryProvider
- Returns:
- the plugin directory
getPluginTempDirectory
public File getPluginTempDirectory()
- Specified by:
getPluginTempDirectory
in interface PluginDirectoryProvider
- Returns:
- the plugin temp directory
getBundledPluginDirectory
public File getBundledPluginDirectory()
- Specified by:
getBundledPluginDirectory
in interface PluginDirectoryProvider
- Returns:
- the bundled plugin directory
getPluginsPersistentCacheDirectory
public File getPluginsPersistentCacheDirectory()
- Specified by:
getPluginsPersistentCacheDirectory
in interface PluginDirectoryProvider
- Returns:
- the plugins persistent cache directory
getPluginsCacheDirectory
public File getPluginsCacheDirectory()
- Specified by:
getPluginsCacheDirectory
in interface PluginDirectoryProvider
- Returns:
- the directory for caching plugins loaded from the database.
getWebResourceIntegrationTempDirectory
public File getWebResourceIntegrationTempDirectory()
- Specified by:
getWebResourceIntegrationTempDirectory
in interface PluginDirectoryProvider
- Returns:
- the directory to store temp files for WebResourceIntegration.
- See Also:
WebResourceIntegration.getTemporaryDirectory()
Copyright © 2003–2015 Atlassian. All rights reserved.