public class CachingPluginIndexConfigurationManager extends Object implements PluginIndexConfigurationManager
| Constructor and Description |
|---|
CachingPluginIndexConfigurationManager(OfBizPluginIndexConfigurationManager delegate,
com.atlassian.cache.CacheManager cacheManager) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<PluginIndexConfiguration> |
getDocumentsForEntity(String entityKey) |
void |
onClearCache(ClearCacheEvent event) |
void |
onPluginRefreshed(com.atlassian.plugin.event.events.PluginRefreshedEvent event) |
void |
onPluginUninstalled(com.atlassian.plugin.event.events.PluginUninstalledEvent event) |
void |
onPluginUpgraded(com.atlassian.plugin.event.events.PluginUpgradedEvent event) |
void |
put(String pluginKey,
String moduleKey,
IndexDocumentConfiguration document)
Sets the description of entity's indexing for the given plugin and module's keys.
|
void |
remove(String pluginKey)
Removes the description of entity's indexing for the given plugin.
|
public CachingPluginIndexConfigurationManager(OfBizPluginIndexConfigurationManager delegate, com.atlassian.cache.CacheManager cacheManager)
@EventListener public void onClearCache(ClearCacheEvent event)
public void onPluginUninstalled(com.atlassian.plugin.event.events.PluginUninstalledEvent event)
public void onPluginRefreshed(com.atlassian.plugin.event.events.PluginRefreshedEvent event)
public void onPluginUpgraded(com.atlassian.plugin.event.events.PluginUpgradedEvent event)
public Iterable<PluginIndexConfiguration> getDocumentsForEntity(@Nonnull String entityKey)
getDocumentsForEntity in interface PluginIndexConfigurationManagerentityKey - name of entity eg. issue, project etcEntityPropertyIndexDocument for the given plugin key.public void put(@Nonnull String pluginKey, @Nonnull String moduleKey, @Nonnull IndexDocumentConfiguration document)
PluginIndexConfigurationManagerput in interface PluginIndexConfigurationManagerpluginKey - the key of the plugin.moduleKey - the key of the module.document - the description of entity's indexing.public void remove(@Nonnull String pluginKey)
PluginIndexConfigurationManagerremove in interface PluginIndexConfigurationManagerpluginKey - the key of the plugin.Copyright © 2002-2019 Atlassian. All Rights Reserved.