public class

GenericSearcherInformation

extends Object
implements SearcherInformation<T extends SearchableField>
java.lang.Object
   ↳ com.atlassian.jira.issue.search.searchers.information.GenericSearcherInformation<T extends com.atlassian.jira.issue.fields.SearchableField>
Known Direct Subclasses

Class Overview

Provides name and index information for the resolution searcher.

Summary

Public Constructors
GenericSearcherInformation(String id, String nameKey, List<Class<? extends FieldIndexer>> indexers, AtomicReference<T> fieldReference, SearcherGroupType searcherGroupType)
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.search.searchers.information.SearcherInformation

Public Constructors

public GenericSearcherInformation (String id, String nameKey, List<Class<? extends FieldIndexer>> indexers, AtomicReference<T> fieldReference, SearcherGroupType searcherGroupType)

Public Methods

public T getField ()

public String getId ()

The unique id of the searcher.

Returns
  • unique id of the searcher.

public String getNameKey ()

The i18n key that is used to lookup the searcher's name when it is displayed.

Returns
  • i18n key that is used to lookup the searcher's name when it is displayed.

public List<FieldIndexer> getRelatedIndexers ()

Returns a list of FieldIndexer objects. The objects should be initialised and ready for action

Returns
  • List of FieldIndexer objects. Must not be null. Return an empty list if none available

public SearcherGroupType getSearcherGroupType ()

The searcher group the searcher should be placed in. Really only useful for system fields as custom fields are forced into the CUSTOM group.

Returns
  • the group the searcher should be associated with. Cannot not be null.