public class

TempPluginParentDirectoryLocator

extends Object
implements PluginParentDirectoryLocator
java.lang.Object
   ↳ com.atlassian.confluence.setup.TempPluginParentDirectoryLocator

Class Overview

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.

Summary

Public Constructors
TempPluginParentDirectoryLocator()
Public Methods
File getDirectory()
The directory in which the SimplePluginDirectoryProvider should place the plugin working directories.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.plugin.PluginParentDirectoryLocator

Public Constructors

public TempPluginParentDirectoryLocator ()

Public Methods

public File getDirectory ()

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.

Returns
  • the directory in which to place working directories for the plugin system.