com.atlassian.confluence.plugin
Class SimplePluginDirectoryProvider

java.lang.Object
  extended by 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
SimplePluginDirectoryProvider(PluginParentDirectoryLocator directoryLocator)
           
 
Method Summary
 File getBundledPluginDirectory()
           
 File getPluginDirectory()
           
 File getPluginsCacheDirectory()
           
 File getPluginsPersistentCacheDirectory()
           
 File getPluginTempDirectory()
           
 File getWebResourceIntegrationTempDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePluginDirectoryProvider

public SimplePluginDirectoryProvider(PluginParentDirectoryLocator directoryLocator)
Method Detail

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-2013 Atlassian. All Rights Reserved.