public class DefaultSearchResultResultRenderer extends Object implements SearchResultRenderer
Constructor and Description |
---|
DefaultSearchResultResultRenderer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRender(SearchResult searchResult)
Indicates if this paricular plugin can (and want) to render the given search result.
|
String |
render(SearchResult searchResult,
SearchResultRenderContext renderContext)
Render the given search result.
|
public boolean canRender(SearchResult searchResult)
SearchResultRenderer
canRender
in interface SearchResultRenderer
searchResult
- Search result to render.public String render(SearchResult searchResult, SearchResultRenderContext renderContext)
SearchResultRenderer
render
in interface SearchResultRenderer
searchResult
- Search result to render.renderContext
- Render context that contains more information that the renderer may make use of.Copyright © 2003–2017 Atlassian. All rights reserved.