Class TimeTrackingStatisticsMapper
java.lang.Object
com.atlassian.jira.issue.statistics.LongFieldStatisticsMapper
com.atlassian.jira.issue.statistics.TimeTrackingStatisticsMapper
- All Implemented Interfaces:
LuceneFieldSorter,StatisticsMapper
A
StatisticsMapper specifically for
OriginalEstimateSystemField,
TimeEstimateSystemField and
TimeSpentSystemField as their index values are stored in a specific format.- Since:
- v4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StatisticsMapperstatic final StatisticsMapperstatic final StatisticsMapperFields inherited from class com.atlassian.jira.issue.statistics.LongFieldStatisticsMapper
PROGRESS, WORK_RATIO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValueFromLuceneField(String documentValue) Convert the lucene document field back to the object that you wish to use to display it.Methods inherited from class com.atlassian.jira.issue.statistics.LongFieldStatisticsMapper
equals, getComparator, getDocumentConstant, getSearchUrlSuffix, hashCode, isFieldAlwaysPartOfAnIssue, isValidValue
-
Field Details
-
TIME_ESTIMATE_ORIG
-
TIME_ESTIMATE_CURR
-
TIME_SPENT
-
-
Constructor Details
-
TimeTrackingStatisticsMapper
-
-
Method Details
-
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- Overrides:
getValueFromLuceneFieldin classLongFieldStatisticsMapper- Parameters:
documentValue- The value of the field in the lucene index- Returns:
- The value that will be passed to the display
-