Class OriginalEstimateIndexer
java.lang.Object
com.atlassian.jira.search.issue.index.indexers.impl.VisibilityBaseFieldIndexer
com.atlassian.jira.search.issue.index.indexers.impl.OriginalEstimateIndexer
- All Implemented Interfaces:
- FieldIndexer
Indexer for original estimate field.
- 
Field SummaryFields inherited from class com.atlassian.jira.search.issue.index.indexers.impl.VisibilityBaseFieldIndexerfieldVisibilityManagerFields inherited from interface com.atlassian.jira.search.issue.index.indexers.FieldIndexerLABELS_NO_VALUE_INDEX_VALUE, NO_VALUE_INDEX_VALUE
- 
Constructor SummaryConstructorsConstructorDescriptionOriginalEstimateIndexer(FieldVisibilityManager fieldVisibilityManager, ApplicationProperties applicationProperties) 
- 
Method SummaryModifier and TypeMethodDescriptionDeclares the fields to be added to the index schemagetId()protected voidindexVisibleFields(FieldValueCollector collector, Issue issue, CustomFieldPrefetchedData prefetchedData) booleanisFieldVisibleAndInScope(Issue issue) This method is used to determine if the indexer is relevant for the provided issue.Methods inherited from class com.atlassian.jira.search.issue.index.indexers.impl.VisibilityBaseFieldIndexerindexFieldsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.search.issue.index.indexers.FieldIndexerskipsIndexingNull
- 
Constructor Details- 
OriginalEstimateIndexerpublic OriginalEstimateIndexer(FieldVisibilityManager fieldVisibilityManager, ApplicationProperties applicationProperties) 
 
- 
- 
Method Details- 
getId- Returns:
- the String representation of the field id that this indexer is indexing, this must be unique for each independent FieldIndexer. If the Indexer does not represent a System or Custom field in Jira this should still return a unique string that describes the indexer.
 
- 
getFieldsDescription copied from interface:FieldIndexerDeclares the fields to be added to the index schema
- 
isFieldVisibleAndInScopeDescription copied from interface:FieldIndexerThis method is used to determine if the indexer is relevant for the provided issue. This method must check the fields visibility, in relation to the field configuration scheme, must check any global flags that would enable or disable a field (such as enable votes flag), and must check, if the field is a custom field, if the custom field is relevant for this issue.All these checks should take into account the IssueContextas defined by the passed in issue.The result of this method is used to determine the correct values that should be returned when performing an empty search. - Specified by:
- isFieldVisibleAndInScopein interface- FieldIndexer
- Overrides:
- isFieldVisibleAndInScopein class- VisibilityBaseFieldIndexer
- Parameters:
- issue- that is having a document created from.
- Returns:
- if true then this field is relevant for the issue, otherwise it is not.
 
- 
indexVisibleFieldsprotected void indexVisibleFields(FieldValueCollector collector, Issue issue, CustomFieldPrefetchedData prefetchedData) - Specified by:
- indexVisibleFieldsin class- VisibilityBaseFieldIndexer
 
 
-