public static class

PluginPath.JiraHomeAdapter

extends Object
implements PluginPath
java.lang.Object
   ↳ com.atlassian.jira.plugin.PluginPath.JiraHomeAdapter

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.plugin.PluginPath
[Expand]
Inherited Fields
From interface com.atlassian.jira.plugin.PluginPath
Public Constructors
PluginPath.JiraHomeAdapter()
Public Methods
File getBundledPluginsDirectory()
The directory where bundled plugins were stored historically.
File getCustomPluginsDirectory()
The custom directory specified by the system property atlassian.jira.pluginScanDirectory to load plugins from.
File getInstalledPluginsDirectory()
The directory where plugins are placed to install them.
OsgiPersistentCache getOsgiPersistentCache()
Bascially handles caching of plugin jars (bundled etc) and clearing those directories.
boolean isConfigured()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.PluginPath

Public Constructors

public PluginPath.JiraHomeAdapter ()

Public Methods

public File getBundledPluginsDirectory ()

The directory where bundled plugins were stored historically. This is being maintained to provide a directory for the BundledPluginLoader until we have a plugins with PLUGDEV-43 and can remove this entirely. TODO: https://jdog.jira-dev.com/browse/JDEV-27508

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

public File getCustomPluginsDirectory ()

The custom directory specified by the system property atlassian.jira.pluginScanDirectory to load plugins from.

Returns
  • A file that points to the path specified by the system property atlassian.jira.pluginScanDirectory.

public 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)

public OsgiPersistentCache getOsgiPersistentCache ()

Bascially handles caching of plugin jars (bundled etc) and clearing those directories.

Returns
  • A OsgiPersistentCache

public boolean isConfigured ()