com.atlassian.jira.plugin
Class PluginPath.JiraHomeAdapter

java.lang.Object
  extended by com.atlassian.jira.plugin.PluginPath.JiraHomeAdapter
All Implemented Interfaces:
PluginPath
Enclosing interface:
PluginPath

public static class PluginPath.JiraHomeAdapter
extends Object
implements PluginPath


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.plugin.PluginPath
PluginPath.JiraHomeAdapter
 
Field Summary
 
Fields inherited from interface com.atlassian.jira.plugin.PluginPath
BUNDLED_SUBDIR, INSTALLED_PLUGINS_SUBDIR, OSGI_SUBDIR, PLUGINS_DIRECTORY
 
Constructor Summary
PluginPath.JiraHomeAdapter()
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginPath.JiraHomeAdapter

public PluginPath.JiraHomeAdapter()
Method Detail

isConfigured

public boolean isConfigured()
Specified by:
isConfigured in interface PluginPath

getPluginsDirectory

public File getPluginsDirectory()
Description copied from interface: PluginPath
The root directory where plugins are managed.

Specified by:
getPluginsDirectory in interface PluginPath
Returns:
a File that points to the root plugins dir (ie. ${jira.home}/plugins)

getInstalledPluginsDirectory

public File getInstalledPluginsDirectory()
Description copied from interface: PluginPath
The directory where plugins are placed to install them.

Specified by:
getInstalledPluginsDirectory in interface PluginPath
Returns:
a File that points to the root plugins dir (ie. ${jira.home}/plugins/installed-plugins)

getBundledPluginsDirectory

public File getBundledPluginsDirectory()
Description copied from interface: PluginPath
The directory where bundled plugins are extracted to. That is anything bundled in atlassian-bundled-plugins.zip.

Specified by:
getBundledPluginsDirectory in interface PluginPath
Returns:
A file that points to the bundled plugins directory. (ie. ${jira.home}/plugins/.bundled-plugins)

getOsgiPersistentCache

public com.atlassian.plugin.osgi.container.OsgiPersistentCache getOsgiPersistentCache()
Description copied from interface: PluginPath
Bascially handles caching of plugin jars (bundled etc) and clearing those directories.

Specified by:
getOsgiPersistentCache in interface PluginPath
Returns:
A OsgiPersistentCache


Copyright © 2002-2012 Atlassian. All Rights Reserved.