Class OfBizPluginIndexConfigurationManager
java.lang.Object
com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager
- All Implemented Interfaces:
PluginIndexConfigurationManager
public class OfBizPluginIndexConfigurationManager
extends Object
implements PluginIndexConfigurationManager
- Since:
- v6.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionOfBizPluginIndexConfigurationManager
(EntityEngine entityEngine, IndexDocumentConfigurationFactory indexDocumentConfigurationFactory, ReindexMessageManager reindexMessageManager, JsonEntityPropertyManager jsonEntityPropertyManager) -
Method Summary
Modifier and TypeMethodDescriptiongetDocumentsForEntity
(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
Removes the description of entity's indexing for the given plugin.
-
Constructor Details
-
OfBizPluginIndexConfigurationManager
public OfBizPluginIndexConfigurationManager(EntityEngine entityEngine, IndexDocumentConfigurationFactory indexDocumentConfigurationFactory, ReindexMessageManager reindexMessageManager, JsonEntityPropertyManager jsonEntityPropertyManager)
-
-
Method Details
-
getDocumentsForEntity
- Specified by:
getDocumentsForEntity
in interfacePluginIndexConfigurationManager
- Parameters:
entityName
- name of entity e.g. issue, project etc- Returns:
- all
EntityPropertyIndexDocument
for the given entity.
-
put
public void put(@Nonnull String pluginKey, @Nonnull String moduleKey, @Nonnull IndexDocumentConfiguration document) Description copied from interface:PluginIndexConfigurationManager
Sets the description of entity's indexing for the given plugin and module's keys.- Specified by:
put
in 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:PluginIndexConfigurationManager
Removes the description of entity's indexing for the given plugin.- Specified by:
remove
in interfacePluginIndexConfigurationManager
- Parameters:
pluginKey
- the key of the plugin.
-