public interface

SearchExtractorRegistrationManager

com.atlassian.jira.index.SearchExtractorRegistrationManager
Known Indirect Subclasses

Class Overview

Manages search extractors

Summary

Public Methods
<T> Collection<EntitySearchExtractor<T>> findExtractorsForEntity(Class<T> entityClass)
Return all extractors that can be applied for specified class no subclasses are taken into account
<T> void register(EntitySearchExtractor<? super T> extractor, Class<T> entityClass)
Registers extractor as capable o processing documents of specified class
<T> void unregister(EntitySearchExtractor<? super T> extractor, Class<T> entityClass)
Remove this extractor (identified by equals method) from processing all registered classes.

Public Methods

public Collection<EntitySearchExtractor<T>> findExtractorsForEntity (Class<T> entityClass)

Return all extractors that can be applied for specified class no subclasses are taken into account

Parameters
entityClass class object to search for extractors
Returns
  • list of extractors

public void register (EntitySearchExtractor<? super T> extractor, Class<T> entityClass)

Registers extractor as capable o processing documents of specified class

Parameters
extractor the extractor that will be registered for processing entities of entityClass
entityClass class that is process by this extractor

public void unregister (EntitySearchExtractor<? super T> extractor, Class<T> entityClass)

Remove this extractor (identified by equals method) from processing all registered classes.

Parameters
extractor instance of extractor to be unregistered
entityClass class that this extractor should be unregistered from.