|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.mock.issue.search.searchers.information.MockSearcherInformation<T>
public class MockSearcherInformation<T extends SearchableField>
Simple mock implementation of SearcherInformation
.
Constructor Summary | |
---|---|
MockSearcherInformation(String name)
|
|
MockSearcherInformation(String id,
String nameKey,
String name,
T field,
List<FieldIndexer> indexers,
SearcherGroupType searcherGroup)
|
Method Summary | |
---|---|
T |
getField()
|
String |
getId()
The unique id of the searcher. |
String |
getNameKey()
The i18n key that is used to lookup the searcher's name when it is displayed. |
List<FieldIndexer> |
getRelatedIndexers()
Returns a list of FieldIndexer objects. |
SearcherGroupType |
getSearcherGroupType()
The searcher group the searcher should be placed in. |
void |
setField(T field)
|
void |
setId(String id)
|
void |
setIndexers(List<FieldIndexer> indexers)
|
void |
setName(String name)
|
void |
setNameKey(String nameKey)
|
void |
setSearcherGroupType(SearcherGroupType searcherGroupType)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MockSearcherInformation(String id, String nameKey, String name, T field, List<FieldIndexer> indexers, SearcherGroupType searcherGroup)
public MockSearcherInformation(String name)
Method Detail |
---|
public String getId()
SearcherInformation
getId
in interface SearcherInformation<T extends SearchableField>
public String getNameKey()
SearcherInformation
getNameKey
in interface SearcherInformation<T extends SearchableField>
public T getField()
getField
in interface SearcherInformation<T extends SearchableField>
public List<FieldIndexer> getRelatedIndexers()
SearcherInformation
FieldIndexer
objects. The objects should be initialised and ready for action
getRelatedIndexers
in interface SearcherInformation<T extends SearchableField>
List
of FieldIndexer
objects. Must not be null. Return an empty list if none availablepublic SearcherGroupType getSearcherGroupType()
SearcherInformation
SearcherGroupType.CUSTOM
group.
getSearcherGroupType
in interface SearcherInformation<T extends SearchableField>
public void setId(String id)
public void setNameKey(String nameKey)
public void setName(String name)
public void setField(T field)
public void setIndexers(List<FieldIndexer> indexers)
public void setSearcherGroupType(SearcherGroupType searcherGroupType)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |