public class DefaultContentNameSearchSectionsProvider extends Object implements ContentNameSearchSectionsProvider
Constructor and Description |
---|
DefaultContentNameSearchSectionsProvider() |
Modifier and Type | Method and Description |
---|---|
Collection<ContentNameSearchSection> |
getSections(List<QueryToken> queryTokens,
ContentNameSearchContext context)
For the given query tokens the method should return a collection of
ContentNameSearchSection s that in
some way match the query. |
void |
setContentNameSearcher(ContentNameSearcher contentNameSearcher) |
void |
setContentNameSearchSectionSpecsProvider(Supplier<Map<Category,ContentNameSearchSectionSpec>> contentNameSearchSectionSpecsProvider) |
public DefaultContentNameSearchSectionsProvider()
public Collection<ContentNameSearchSection> getSections(List<QueryToken> queryTokens, ContentNameSearchContext context)
ContentNameSearchSectionsProvider
ContentNameSearchSection
s that in
some way match the query.getSections
in interface ContentNameSearchSectionsProvider
queryTokens
- the query as tokenized by ConfluenceContentNameSearchSection
s to be included in the quick nav result or null if nothing should be
includedpublic void setContentNameSearcher(ContentNameSearcher contentNameSearcher)
public void setContentNameSearchSectionSpecsProvider(Supplier<Map<Category,ContentNameSearchSectionSpec>> contentNameSearchSectionSpecsProvider)
Copyright © 2003–2020 Atlassian. All rights reserved.