public class GenericSearcherInformation<T extends SearchableField> extends Object implements SearcherInformation<T>
Constructor and Description |
---|
GenericSearcherInformation(String id,
String nameKey,
List<Class<? extends FieldIndexer>> indexers,
AtomicReference<T> fieldReference,
SearcherGroupType searcherGroupType) |
Modifier and Type | Method and Description |
---|---|
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.
|
public GenericSearcherInformation(String id, String nameKey, List<Class<? extends FieldIndexer>> indexers, AtomicReference<T> fieldReference, SearcherGroupType searcherGroupType)
public String getId()
SearcherInformation
getId
in interface SearcherInformation<T extends SearchableField>
public String getNameKey()
SearcherInformation
getNameKey
in interface SearcherInformation<T extends SearchableField>
public List<FieldIndexer> getRelatedIndexers()
SearcherInformation
FieldIndexer
objects. The objects should be initialised and ready for actiongetRelatedIndexers
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 T getField()
getField
in interface SearcherInformation<T extends SearchableField>
Copyright © 2002-2017 Atlassian. All Rights Reserved.