Interface CustomFieldSearcher

All Superinterfaces:
IssueSearcher<CustomField>
All Known Implementing Classes:
AbstractDateRangeSearcher, AbstractInitializationCustomFieldSearcher, CascadingSelectSearcher, CustomFieldLabelsSearcher, DateRangeSearcher, DateTimeRangeSearcher, ExactNumberSearcher, ExactTextSearcher, GroupPickerSearcher, LabelSearcher, MockCustomFieldSearcher, MultiSelectSearcher, NumberRangeSearcher, ProjectSearcher, SelectSearcher, SlowTextSearcher, TextSearcher, UserPickerGroupSearcher, UserPickerSearcher, VersionPickerSearcher

@PublicSpi @PublicApi public interface CustomFieldSearcher extends IssueSearcher<CustomField>
The custom field searcher interface defines an IssueSearcher that's usable by CustomField objects. Since JIRA 4.0, searchers have changed a lot with the introduction of JQL. For examples of usage you might want to check out AbstractInitializationCustomFieldSearcher and its inheritors.
Since:
JIRA 3.0
  • Method Details

    • init

      void init(CustomFieldSearcherModuleDescriptor customFieldSearcherModuleDescriptor)
      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.
      Parameters:
      customFieldSearcherModuleDescriptor - the module descriptor that defines this searcher.
    • getDescriptor

      Returns:
      the module descriptor that defined this searcher.
    • getCustomFieldSearcherClauseHandler

      CustomFieldSearcherClauseHandler getCustomFieldSearcherClauseHandler()
      Provides an object that can be used to handle the clauses that this searcher generates.
      Returns:
      an object that can be used to handle the clauses that this searcher generates, can be null.