Package com.atlassian.jira.search.lucene
Interface LuceneQueryMapperRegistry
- All Superinterfaces:
LuceneQueryMapper<Query>
- All Known Implementing Classes:
DefaultLuceneQueryMapperRegistry
@Deprecated(since="10.4",
forRemoval=true)
public interface LuceneQueryMapperRegistry
extends LuceneQueryMapper<Query>
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.4. This class is Lucene specific. It will remain in Jira 11 to allow a longer migration period
for plugin developers, and will be removed in Jira 12.0.
This class is used to register lucene query mappers. Various
Jira
Query
will serve as keys,
with their respective mappers being the values.- Since:
- 10.4
-
Method Summary
Modifier and TypeMethodDescription<Q extends Query>
LuceneQueryMapper<Q>getMapper
(Q query) Deprecated, for removal: This API element is subject to removal in a future version.Get the mapper for a query class.<Q extends Query>
voidregisterMapper
(Class<Q> clazz, LuceneQueryMapper<Q> mapper) Deprecated, for removal: This API element is subject to removal in a future version.Register a mapper for a query class.Methods inherited from interface com.atlassian.jira.search.lucene.LuceneQueryMapper
map
-
Method Details
-
registerMapper
Deprecated, for removal: This API element is subject to removal in a future version.Register a mapper for a query class. This mapper will be used to map queries of JiraQuery
to Lucene Query.- Parameters:
clazz
- the query class to registermapper
- the mapper to register
-
getMapper
Deprecated, for removal: This API element is subject to removal in a future version.Get the mapper for a query class.- Parameters:
query
- the query to get the mapper for- Returns:
- the mapper for the query
-