com.atlassian.jira.plugin
Interface PluginPath

All Known Implementing Classes:
PluginPath.JiraHomeAdapter

public interface PluginPath


Nested Class Summary
static class PluginPath.JiraHomeAdapter
           
 
Field Summary
static String BUNDLED_SUBDIR
           
static String INSTALLED_PLUGINS_SUBDIR
           
static String OSGI_SUBDIR
           
static String PLUGINS_DIRECTORY
           
 
Method Summary
 File getBundledPluginsDirectory()
          The directory where bundled plugins are extracted to.
 File getInstalledPluginsDirectory()
          The directory where plugins are placed to install them.
 com.atlassian.plugin.osgi.container.OsgiPersistentCache getOsgiPersistentCache()
          Bascially handles caching of plugin jars (bundled etc) and clearing those directories.
 File getPluginsDirectory()
          The root directory where plugins are managed.
 boolean isConfigured()
           
 

Field Detail

PLUGINS_DIRECTORY

static final String PLUGINS_DIRECTORY
See Also:
Constant Field Values

INSTALLED_PLUGINS_SUBDIR

static final String INSTALLED_PLUGINS_SUBDIR

OSGI_SUBDIR

static final String OSGI_SUBDIR

BUNDLED_SUBDIR

static final String BUNDLED_SUBDIR
Method Detail

isConfigured

boolean isConfigured()

getPluginsDirectory

File getPluginsDirectory()
The root directory where plugins are managed.

Returns:
a File that points to the root plugins dir (ie. ${jira.home}/plugins)

getInstalledPluginsDirectory

File getInstalledPluginsDirectory()
The directory where plugins are placed to install them.

Returns:
a File that points to the root plugins dir (ie. ${jira.home}/plugins/installed-plugins)

getBundledPluginsDirectory

File getBundledPluginsDirectory()
The directory where bundled plugins are extracted to. That is anything bundled in atlassian-bundled-plugins.zip.

Returns:
A file that points to the bundled plugins directory. (ie. ${jira.home}/plugins/.bundled-plugins)

getOsgiPersistentCache

com.atlassian.plugin.osgi.container.OsgiPersistentCache getOsgiPersistentCache()
Bascially handles caching of plugin jars (bundled etc) and clearing those directories.

Returns:
A OsgiPersistentCache


Copyright © 2002-2013 Atlassian. All Rights Reserved.