public class OfBizPluginIndexConfigurationManager extends Object implements PluginIndexConfigurationManager
Modifier and Type | Class and Description |
---|---|
static class |
OfBizPluginIndexConfigurationManager.PluginIndexConfigurationImpl |
Constructor and Description |
---|
OfBizPluginIndexConfigurationManager(EntityEngine entityEngine,
IndexDocumentConfigurationFactory indexDocumentConfigurationFactory,
ReindexMessageManager reindexMessageManager,
JsonEntityPropertyManager jsonEntityPropertyManager) |
Modifier and Type | Method and Description |
---|---|
Iterable<PluginIndexConfiguration> |
getDocumentsForEntity(String entityName) |
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 OfBizPluginIndexConfigurationManager(EntityEngine entityEngine, IndexDocumentConfigurationFactory indexDocumentConfigurationFactory, ReindexMessageManager reindexMessageManager, JsonEntityPropertyManager jsonEntityPropertyManager)
public Iterable<PluginIndexConfiguration> getDocumentsForEntity(@Nonnull String entityName)
getDocumentsForEntity
in interface PluginIndexConfigurationManager
entityName
- name of entity eg. issue, project etcEntityPropertyIndexDocument
for the given plugin key.public void put(@Nonnull String pluginKey, @Nonnull String moduleKey, @Nonnull IndexDocumentConfiguration document)
PluginIndexConfigurationManager
put
in interface PluginIndexConfigurationManager
pluginKey
- the key of the plugin.moduleKey
- the key of the module.document
- the description of entity's indexing.public void remove(@Nonnull String pluginKey)
PluginIndexConfigurationManager
remove
in interface PluginIndexConfigurationManager
pluginKey
- the key of the plugin.Copyright © 2002-2021 Atlassian. All Rights Reserved.