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 java.lang.String BUNDLED_SUBDIR
           
static java.lang.String INSTALLED_PLUGINS_SUBDIR
           
static java.lang.String OSGI_SUBDIR
           
static java.lang.String PLUGINS_DIRECTORY
           
 
Method Summary
 java.io.File getBundledPluginsDirectory()
          The directory where bundled plugins are extracted to.
 java.io.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.
 java.io.File getPluginsDirectory()
          The root directory where plugins are managed.
 boolean isConfigured()
           
 

Field Detail

PLUGINS_DIRECTORY

static final java.lang.String PLUGINS_DIRECTORY
See Also:
Constant Field Values

INSTALLED_PLUGINS_SUBDIR

static final java.lang.String INSTALLED_PLUGINS_SUBDIR

OSGI_SUBDIR

static final java.lang.String OSGI_SUBDIR

BUNDLED_SUBDIR

static final java.lang.String BUNDLED_SUBDIR
Method Detail

isConfigured

boolean isConfigured()

getPluginsDirectory

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

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

getInstalledPluginsDirectory

java.io.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

java.io.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-2010 Atlassian. All Rights Reserved.