public class SearchResultRenderContext extends Object
Constructor and Description |
---|
SearchResultRenderContext()
Default constructor.
|
SearchResultRenderContext(String queryString,
String showExcerpts)
Constructor that sets both the queryString and showExcepts properties.
|
Modifier and Type | Method and Description |
---|---|
String |
getQueryString()
Return the query string if set, otherwise returns empty string.
|
String |
getShowExcerpts()
Return the showExceprts if set otherwise return empty string.
|
public SearchResultRenderContext(String queryString, String showExcerpts)
queryString
- the query string used when the search was performed.showExcerpts
- indicates if excerpts should be shown. This is largely
a legacy thing.public SearchResultRenderContext()
public String getQueryString()
public String getShowExcerpts()
Copyright © 2003–2017 Atlassian. All rights reserved.