public interface PluginPath
Modifier and Type | Interface and Description |
---|---|
static class |
PluginPath.JiraHomeAdapter |
Modifier and Type | Field and Description |
---|---|
static String |
BUNDLED_SUBDIR
Although we no longer copy bundled plugins to this directory, we maintain it (empty) in order
to return from
getBundledPluginsDirectory() , until we have a plugins with PLUGDEV-43
and we can move this defintion to an upgrade task which removes the directory entirely. |
static String |
FREEZE_FILE_PATH |
static String |
INSTALLED_PLUGINS_SUBDIR |
static String |
OSGI_SUBDIR |
static String |
PLUGINS_DIRECTORY |
Modifier and Type | Method and Description |
---|---|
File |
getBundledPluginsDirectory()
Deprecated.
This method should not be used by new code, and will be removed when plugins is upgraded.
|
File |
getCustomPluginsDirectory()
The custom directory specified by the system property atlassian.jira.plugin.scan.directory to load plugins from.
|
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 |
getPluginsFreezeFile()
A file just like the roster file that is used to "freeze" the state of the installed plugins directory.
|
File |
getPluginsRosterFile()
The roster file specified by the system property atlassian.jira.plugin.roster.file to load plugins from.
|
boolean |
isConfigured() |
static final String PLUGINS_DIRECTORY
static final String INSTALLED_PLUGINS_SUBDIR
static final String FREEZE_FILE_PATH
static final String OSGI_SUBDIR
static final String BUNDLED_SUBDIR
getBundledPluginsDirectory()
, until we have a plugins with PLUGDEV-43
and we can move this defintion to an upgrade task which removes the directory entirely.
TODO: https://jdog.jira-dev.com/browse/JDEV-27508
boolean isConfigured()
File getInstalledPluginsDirectory()
File getBundledPluginsDirectory()
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
File getCustomPluginsDirectory()
SystemPropertyKeys.CUSTOM_PLUGIN_PATH
File getPluginsRosterFile()
SystemPropertyKeys.PLUGIN_ROSTER_PATH
File getPluginsFreezeFile()
com.atlassian.plugin.osgi.container.OsgiPersistentCache getOsgiPersistentCache()
Copyright © 2002-2019 Atlassian. All Rights Reserved.