Class SubTaskStatisticsMapper
java.lang.Object
com.atlassian.jira.issue.statistics.SubTaskStatisticsMapper
- All Implemented Interfaces:
LuceneFieldSorter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAs this object is used as a key in a cache, this method must be provided and respect all internal state.A comparator that can be used to order objects returned byLuceneFieldSorter.getValueFromLuceneField(String).Get the constant that this field is indexed with.getValueFromLuceneField(String documentValue) Convert the lucene document field back to the object that you wish to use to display it.inthashCode()As this object is used as a key in a cache, this method must be provided and respect all internal state.
-
Constructor Details
-
SubTaskStatisticsMapper
-
-
Method Details
-
getDocumentConstant
Description copied from interface:LuceneFieldSorterGet the constant that this field is indexed with.- Specified by:
getDocumentConstantin interfaceLuceneFieldSorter- See Also:
-
getValueFromLuceneField
Description copied from interface:LuceneFieldSorterConvert the lucene document field back to the object that you wish to use to display it.eg. '1000' -> Version 1.
For custom fields, the return value will be passed to
CustomFieldSearcherModuleDescriptor.getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)- Specified by:
getValueFromLuceneFieldin interfaceLuceneFieldSorter- Parameters:
documentValue- The value of the field in the lucene index- Returns:
- The value that will be passed to the display
-
getComparator
Description copied from interface:LuceneFieldSorterA comparator that can be used to order objects returned byLuceneFieldSorter.getValueFromLuceneField(String).The Comparator must be reentrant as it could be used by Lucene from multiple threads at once.
- Specified by:
getComparatorin interfaceLuceneFieldSorter
-
hashCode
public int hashCode()Description copied from interface:LuceneFieldSorterAs this object is used as a key in a cache, this method must be provided and respect all internal state.See the class javadoc entry for more details.
- Specified by:
hashCodein interfaceLuceneFieldSorter- Overrides:
hashCodein classObject
-
equals
Description copied from interface:LuceneFieldSorterAs this object is used as a key in a cache, this method must be provided and respect all internal state.See the class javadoc entry for more details.
- Specified by:
equalsin interfaceLuceneFieldSorter- Overrides:
equalsin classObject
-