public static class PluginPath.JiraHomeAdapter extends Object implements PluginPath
PluginPath.JiraHomeAdapter
BUNDLED_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 PluginPath
public File getInstalledPluginsDirectory()
PluginPath
getInstalledPluginsDirectory
in interface PluginPath
public File getBundledPluginsDirectory()
PluginPath
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
getBundledPluginsDirectory
in interface PluginPath
public File getCustomPluginsDirectory()
PluginPath
getCustomPluginsDirectory
in interface PluginPath
SystemPropertyKeys.CUSTOM_PLUGIN_PATH
public File getPluginsRosterFile()
PluginPath
getPluginsRosterFile
in interface PluginPath
SystemPropertyKeys.PLUGIN_ROSTER_PATH
public File getPluginsFreezeFile()
PluginPath
getPluginsFreezeFile
in interface PluginPath
public com.atlassian.plugin.osgi.container.OsgiPersistentCache getOsgiPersistentCache()
PluginPath
getOsgiPersistentCache
in interface PluginPath
Copyright © 2002-2024 Atlassian. All Rights Reserved.