public static class PluginPath.JiraHomeAdapter extends Object implements PluginPath
PluginPath.JiraHomeAdapterBUNDLED_SUBDIR, FREEZE_FILE_PATH, INSTALLED_PLUGINS_SUBDIR, OSGI_SUBDIR, PLUGINS_DIRECTORY| Constructor and Description |
|---|
JiraHomeAdapter(JiraProperties jiraProperties) |
| Modifier and Type | Method and Description |
|---|---|
File |
getBundledPluginsDirectory()
The directory where bundled plugins were stored historically.
|
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() |
public JiraHomeAdapter(JiraProperties jiraProperties)
public boolean isConfigured()
isConfigured in interface PluginPathpublic File getInstalledPluginsDirectory()
PluginPathgetInstalledPluginsDirectory in interface PluginPathpublic File getBundledPluginsDirectory()
PluginPathThis 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
getBundledPluginsDirectory in interface PluginPathpublic File getCustomPluginsDirectory()
PluginPathgetCustomPluginsDirectory in interface PluginPathSystemPropertyKeys.CUSTOM_PLUGIN_PATHpublic File getPluginsRosterFile()
PluginPathgetPluginsRosterFile in interface PluginPathSystemPropertyKeys.PLUGIN_ROSTER_PATHpublic File getPluginsFreezeFile()
PluginPathgetPluginsFreezeFile in interface PluginPathpublic com.atlassian.plugin.osgi.container.OsgiPersistentCache getOsgiPersistentCache()
PluginPathgetOsgiPersistentCache in interface PluginPathCopyright © 2002-2023 Atlassian. All Rights Reserved.