public static class SearchOptions.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SearchOptions |
build() |
SearchOptions.Builder |
excerptStrategy(SearchOptions.Excerpt excerpt) |
SearchOptions.Builder |
excerptStrategy(String excerptStrategyName)
Sets the excerpt strategy to the excerpt strategy with the given name.
|
SearchOptions.Builder |
fireSearchPerformed(boolean fireIt) |
SearchOptions.Builder |
includeArchivedSpaces(boolean includeArchivedSpaces) |
SearchOptions.Builder |
searchContext(SearchContext searchContext) |
public SearchOptions.Builder excerptStrategy(SearchOptions.Excerpt excerpt)
public SearchOptions.Builder excerptStrategy(String excerptStrategyName)
This method is primarily used to deserialize an excerpt strategy from it's name
excerptStrategyName
- name of one of the built in excerpt strategiespublic SearchOptions.Builder searchContext(SearchContext searchContext)
public SearchOptions.Builder includeArchivedSpaces(boolean includeArchivedSpaces)
public SearchOptions.Builder fireSearchPerformed(boolean fireIt)
public SearchOptions build()
Copyright © 2003–2018 Atlassian. All rights reserved.