|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.search.searchers.MockIssueSearcher<T>
public class MockIssueSearcher<T extends SearchableField>
A simple mock implementation of the IssueSearcher
interface for
testsing.
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher |
---|
log |
Constructor Summary | |
---|---|
MockIssueSearcher(String id)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockIssueSearcher(String id)
Method Detail |
---|
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)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |