Class SearchOptions.Builder
java.lang.Object
com.atlassian.confluence.api.model.search.SearchOptions.Builder
- Enclosing class:
- SearchOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
excerptStrategy
(SearchOptions.Excerpt excerpt) excerptStrategy
(String excerptStrategyName) Sets the excerpt strategy to the excerpt strategy with the given name.fireSearchPerformed
(boolean fireIt) includeArchivedSpaces
(boolean includeArchivedSpaces) searchContext
(SearchContext searchContext)
-
Method Details
-
excerptStrategy
-
excerptStrategy
Sets the excerpt strategy to the excerpt strategy with the given name. If there is no built in strategy with this name, the excerpt strategy is set to NONE.This method is primarily used to deserialize an excerpt strategy from it's name
- Parameters:
excerptStrategyName
- name of one of the built in excerpt strategies- Returns:
- this
-
searchContext
-
includeArchivedSpaces
-
fireSearchPerformed
-
build
-