com.atlassian.confluence.setup
Class TempPluginParentDirectoryLocator

java.lang.Object
  extended by com.atlassian.confluence.setup.TempPluginParentDirectoryLocator
All Implemented Interfaces:
PluginParentDirectoryLocator

public class TempPluginParentDirectoryLocator
extends java.lang.Object
implements PluginParentDirectoryLocator

Provides working directories for the plugin manager in a temp directory specifically created for this manager instance. Used during setup when we may or may not have a Confluence Home, and don't want to clobber the plugin directory used by the non-setup plugin manager.


Constructor Summary
TempPluginParentDirectoryLocator()
           
 
Method Summary
 java.io.File getDirectory()
          The directory in which the SimplePluginDirectoryProvider should place the plugin working directories.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempPluginParentDirectoryLocator

public TempPluginParentDirectoryLocator()
Method Detail

getDirectory

public java.io.File getDirectory()
Description copied from interface: PluginParentDirectoryLocator
The directory in which the SimplePluginDirectoryProvider should place the plugin working directories. It is the responsibility of the implementing class to ensure the directory exists and is writeable.

Specified by:
getDirectory in interface PluginParentDirectoryLocator
Returns:
the directory in which to place working directories for the plugin system.


Copyright © 2003-2013 Atlassian. All Rights Reserved.