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
ContentNameSearchSections 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)
ContentNameSearchSectionsProviderContentNameSearchSections that in
some way match the query.getSections in interface ContentNameSearchSectionsProviderqueryTokens - the query as tokenized by ConfluenceContentNameSearchSections 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–2022 Atlassian. All rights reserved.