com.atlassian.jira.issue.customfields.searchers.information
Class CustomFieldSearcherInformation

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.information.GenericSearcherInformation<CustomField>
      extended by com.atlassian.jira.issue.customfields.searchers.information.CustomFieldSearcherInformation
All Implemented Interfaces:
SearcherInformation<CustomField>

public class CustomFieldSearcherInformation
extends GenericSearcherInformation<CustomField>

Stores information on Custom Field Searchers.

Since:
v4.0

Constructor Summary
CustomFieldSearcherInformation(String id, String nameKey, List<? extends FieldIndexer> indexers, AtomicReference<CustomField> fieldReference)
           
 
Method Summary
 String getNameKey()
          The i18n key that is used to lookup the searcher's name when it is displayed.
 List<FieldIndexer> getRelatedIndexers()
          Regular IssueSearchers get their FieldIndexers by instantiating the class objects passed to them.
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.information.GenericSearcherInformation
getField, getId, getSearcherGroupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFieldSearcherInformation

public CustomFieldSearcherInformation(String id,
                                      String nameKey,
                                      List<? extends FieldIndexer> indexers,
                                      AtomicReference<CustomField> fieldReference)
Method Detail

getRelatedIndexers

public List<FieldIndexer> getRelatedIndexers()
Regular IssueSearchers get their FieldIndexers by instantiating the class objects passed to them. However, Custom Fields work differently because they have their indexers instantiated elsewhere for them.

Specified by:
getRelatedIndexers in interface SearcherInformation<CustomField>
Overrides:
getRelatedIndexers in class GenericSearcherInformation<CustomField>
Returns:
the indexers for this custom field searcher

getNameKey

public String getNameKey()
Description copied from interface: SearcherInformation
The i18n key that is used to lookup the searcher's name when it is displayed.

Specified by:
getNameKey in interface SearcherInformation<CustomField>
Overrides:
getNameKey in class GenericSearcherInformation<CustomField>
Returns:
i18n key that is used to lookup the searcher's name when it is displayed.


Copyright © 2002-2014 Atlassian. All Rights Reserved.