com.atlassian.jira.issue.customfields.searchers
Class AbstractInitializationCustomFieldSearcher

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
All Implemented Interfaces:
CustomFieldSearcher, IssueSearcher<CustomField>
Direct Known Subclasses:
AbstractDateRangeSearcher, CascadingSelectSearcher, CustomFieldLabelsSearcher, DateRangeSearcher, ExactNumberSearcher, ExactTextSearcher, GroupPickerSearcher, LabelSearcher, MultiSelectSearcher, NumberRangeSearcher, ProjectSearcher, SelectSearcher, TextSearcher, UserPickerGroupSearcher, UserPickerSearcher, VersionSearcher

@PublicSpi
public abstract class AbstractInitializationCustomFieldSearcher
extends Object
implements CustomFieldSearcher

Abstract base class for searchers that performs the init methods for a searcher.

Since:
v4.0

Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
log
 
Constructor Summary
AbstractInitializationCustomFieldSearcher()
           
 
Method Summary
 CustomFieldSearcherModuleDescriptor getDescriptor()
           
 void init(CustomFieldSearcherModuleDescriptor customFieldSearcherModuleDescriptor)
          Initializes the searcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldSearcher
getCustomFieldSearcherClauseHandler
 
Methods inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
getSearchInformation, getSearchInputTransformer, getSearchRenderer, init
 

Constructor Detail

AbstractInitializationCustomFieldSearcher

public AbstractInitializationCustomFieldSearcher()
Method Detail

init

public void init(CustomFieldSearcherModuleDescriptor customFieldSearcherModuleDescriptor)
Description copied from interface: CustomFieldSearcher
Initializes the searcher. This is called the first time this searcher is retrieved from the plugin manager. You can expect that JIRA will be initialized when this method is invoked.

Specified by:
init in interface CustomFieldSearcher
Parameters:
customFieldSearcherModuleDescriptor - the module desriptor that defines this searcher.

getDescriptor

public CustomFieldSearcherModuleDescriptor getDescriptor()
Specified by:
getDescriptor in interface CustomFieldSearcher
Returns:
the module descriptor that defined this searcher.


Copyright © 2002-2012 Atlassian. All Rights Reserved.