public class MockIssueSearcher<T extends SearchableField> extends Object implements IssueSearcher<T>
IssueSearcher
interface for
testsing.log
Constructor and Description |
---|
MockIssueSearcher(String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
getField() |
String |
getId() |
SearcherInformation<T> |
getSearchInformation()
Provides an object that contains information about the Searcher.
|
SearchInputTransformer |
getSearchInputTransformer()
Provides an object that will allow you to transform raw request parameters to field holder values and
field holder values to
Clause search representations. |
SearchRenderer |
getSearchRenderer()
Provides an object that will allow you to render the edit and view html for a searcher.
|
int |
hashCode() |
void |
init(T field)
Initialises the searcher with a given field.
|
void |
setInformation(SearcherInformation<T> information) |
void |
setRenderer(SearchRenderer renderer) |
public MockIssueSearcher(String id)
public String getId()
public void setInformation(SearcherInformation<T> information)
public void init(T field)
IssueSearcher
init
in interface IssueSearcher<T extends SearchableField>
field
- the field object. This may be null. (So you can have searchers on non-fields)public T getField()
public SearcherInformation<T> getSearchInformation()
IssueSearcher
getSearchInformation
in interface IssueSearcher<T extends SearchableField>
public SearchInputTransformer getSearchInputTransformer()
IssueSearcher
Clause
search representations.getSearchInputTransformer
in interface IssueSearcher<T extends SearchableField>
public SearchRenderer getSearchRenderer()
IssueSearcher
getSearchRenderer
in interface IssueSearcher<T extends SearchableField>
public void setRenderer(SearchRenderer renderer)
Copyright © 2002-2024 Atlassian. All Rights Reserved.