Class CachingPluginIndexConfigurationManager
java.lang.Object
com.atlassian.jira.index.property.CachingPluginIndexConfigurationManager
- All Implemented Interfaces:
PluginIndexConfigurationManager
public class CachingPluginIndexConfigurationManager
extends Object
implements PluginIndexConfigurationManager
- Since:
- v6.2
-
Constructor Summary
ConstructorsConstructorDescriptionCachingPluginIndexConfigurationManager(OfBizPluginIndexConfigurationManager delegate, com.atlassian.cache.CacheManager cacheManager) -
Method Summary
Modifier and TypeMethodDescriptiongetDocumentsForEntity(String entityKey) voidonClearCache(ClearCacheEvent event) voidonPluginRefreshed(com.atlassian.plugin.event.events.PluginRefreshedEvent event) voidonPluginUninstalled(com.atlassian.plugin.event.events.PluginUninstalledEvent event) voidonPluginUpgraded(com.atlassian.plugin.event.events.PluginUpgradedEvent event) voidput(String pluginKey, String moduleKey, IndexDocumentConfiguration document) Sets the description of entity's indexing for the given plugin and module's keys.voidRemoves the description of entity's indexing for the given plugin.
-
Constructor Details
-
CachingPluginIndexConfigurationManager
public CachingPluginIndexConfigurationManager(OfBizPluginIndexConfigurationManager delegate, com.atlassian.cache.CacheManager cacheManager)
-
-
Method Details
-
onClearCache
-
onPluginUninstalled
public void onPluginUninstalled(com.atlassian.plugin.event.events.PluginUninstalledEvent event) -
onPluginRefreshed
public void onPluginRefreshed(com.atlassian.plugin.event.events.PluginRefreshedEvent event) -
onPluginUpgraded
public void onPluginUpgraded(com.atlassian.plugin.event.events.PluginUpgradedEvent event) -
getDocumentsForEntity
- Specified by:
getDocumentsForEntityin interfacePluginIndexConfigurationManager- Parameters:
entityKey- name of entity eg. issue, project etc- Returns:
- all
EntityPropertyIndexDocumentfor the given plugin key.
-
put
public void put(@Nonnull String pluginKey, @Nonnull String moduleKey, @Nonnull IndexDocumentConfiguration document) Description copied from interface:PluginIndexConfigurationManagerSets the description of entity's indexing for the given plugin and module's keys.- Specified by:
putin interfacePluginIndexConfigurationManager- Parameters:
pluginKey- the key of the plugin.moduleKey- the key of the module.document- the description of entity's indexing.
-
remove
Description copied from interface:PluginIndexConfigurationManagerRemoves the description of entity's indexing for the given plugin.- Specified by:
removein interfacePluginIndexConfigurationManager- Parameters:
pluginKey- the key of the plugin.
-