com.atlassian.jira.issue.index.indexers.impl
Class DefaultCustomFieldIndexer

java.lang.Object
  extended by com.atlassian.jira.issue.index.indexers.impl.BaseFieldIndexer
      extended by com.atlassian.jira.issue.index.indexers.impl.BaseRenderableFieldIndexer
          extended by com.atlassian.jira.issue.index.indexers.impl.DefaultCustomFieldIndexer
All Implemented Interfaces:
FieldIndexer

public class DefaultCustomFieldIndexer
extends BaseRenderableFieldIndexer

The default indexer for custom fields. NOTE: this implementation requires that the custom field and the abstract custom field searcher have been provided as deps via there setter methods.


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.index.indexers.impl.BaseFieldIndexer
NO_VALUE_INDEX_VALUE
 
Constructor Summary
DefaultCustomFieldIndexer(FieldLayoutManager fieldLayoutManager, RendererManager rendererManager)
           
 
Method Summary
 void addIndex(org.apache.lucene.document.Document doc, Issue issue)
           
 String getId()
           
 void setCustomField(CustomField customField)
           
 void setCustomFieldSearcher(AbstractCustomFieldSearcher customFieldSearcher)
           
 
Methods inherited from class com.atlassian.jira.issue.index.indexers.impl.BaseRenderableFieldIndexer
getRendereredValueAsText
 
Methods inherited from class com.atlassian.jira.issue.index.indexers.impl.BaseFieldIndexer
compareTo, equals, getValueForSorting, hashCode, indexDateField, indexDependentEntities, indexKeyword, indexKeywordWithDefault, indexKeywordWithDefault, indexLongAsKeyword, indexText, indexTextForSorting
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCustomFieldIndexer

public DefaultCustomFieldIndexer(FieldLayoutManager fieldLayoutManager,
                                 RendererManager rendererManager)
Method Detail

getId

public String getId()
Specified by:
getId in interface FieldIndexer
Overrides:
getId in class BaseFieldIndexer

addIndex

public void addIndex(org.apache.lucene.document.Document doc,
                     Issue issue)

setCustomField

public void setCustomField(CustomField customField)

setCustomFieldSearcher

public void setCustomFieldSearcher(AbstractCustomFieldSearcher customFieldSearcher)


Copyright © 2002-2009 Atlassian. All Rights Reserved.