Package 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.
-
-
Constructor Summary
Constructors Constructor Description SimplePluginDirectoryProvider(PluginParentDirectoryLocator directoryLocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getBundledPluginDirectory()
File
getPluginDirectory()
File
getPluginsCacheDirectory()
File
getPluginsPersistentCacheDirectory()
File
getPluginTempDirectory()
File
getWebResourceIntegrationTempDirectory()
-
-
-
Constructor Detail
-
SimplePluginDirectoryProvider
public SimplePluginDirectoryProvider(PluginParentDirectoryLocator directoryLocator)
-
-
Method Detail
-
getPluginDirectory
public File getPluginDirectory()
- Specified by:
getPluginDirectory
in interfacePluginDirectoryProvider
- Returns:
- the plugin directory
-
getPluginTempDirectory
public File getPluginTempDirectory()
- Specified by:
getPluginTempDirectory
in interfacePluginDirectoryProvider
- Returns:
- the plugin temp directory
-
getBundledPluginDirectory
public File getBundledPluginDirectory()
- Specified by:
getBundledPluginDirectory
in interfacePluginDirectoryProvider
- Returns:
- the bundled plugin directory
-
getPluginsPersistentCacheDirectory
public File getPluginsPersistentCacheDirectory()
- Specified by:
getPluginsPersistentCacheDirectory
in interfacePluginDirectoryProvider
- Returns:
- the plugins persistent cache directory
-
getPluginsCacheDirectory
public File getPluginsCacheDirectory()
- Specified by:
getPluginsCacheDirectory
in interfacePluginDirectoryProvider
- Returns:
- the directory for caching plugins loaded from the database.
-
getWebResourceIntegrationTempDirectory
public File getWebResourceIntegrationTempDirectory()
- Specified by:
getWebResourceIntegrationTempDirectory
in interfacePluginDirectoryProvider
- Returns:
- the directory to store temp files for WebResourceIntegration.
- See Also:
WebResourceIntegration.getTemporaryDirectory()
-
-