public class DelegatedSearchResultRenderer extends Object
Constructor and Description |
---|
DelegatedSearchResultRenderer() |
Modifier and Type | Method and Description |
---|---|
String |
render(SearchResult searchResult,
SearchResultRenderContext renderContext)
Render the given search result.
|
void |
setDefaultRenderer(SearchResultRenderer defaultRenderer) |
void |
setSearchResultRendererCache(SearchResultRendererCache cache) |
public String render(SearchResult searchResult, SearchResultRenderContext renderContext)
searchResult
- The search result to render.renderContext
- A render context that can hold more information related
to the search result. Things like queryString is stored in the context.public void setDefaultRenderer(SearchResultRenderer defaultRenderer)
defaultRenderer
- the defaultRenderer to setpublic void setSearchResultRendererCache(SearchResultRendererCache cache)
cache
- the cache to setCopyright © 2003–2017 Atlassian. All rights reserved.