public class TimeTrackingStatisticsMapper extends LongFieldStatisticsMapper
StatisticsMapper
specifically for
OriginalEstimateSystemField
,
TimeEstimateSystemField
and
TimeSpentSystemField
as their index values are stored in a specific format.Modifier and Type | Field and Description |
---|---|
static StatisticsMapper |
TIME_ESTIMATE_CURR |
static StatisticsMapper |
TIME_ESTIMATE_ORIG |
static StatisticsMapper |
TIME_SPENT |
PROGRESS, WORK_RATIO
Constructor and Description |
---|
TimeTrackingStatisticsMapper(String documentConstant) |
Modifier and Type | Method and Description |
---|---|
Object |
getValueFromLuceneField(String documentValue)
Convert the lucene document field back to the object that you wish to use to display it.
|
equals, getComparator, getDocumentConstant, getSearchUrlSuffix, hashCode, isFieldAlwaysPartOfAnIssue, isValidValue
public static final StatisticsMapper TIME_ESTIMATE_ORIG
public static final StatisticsMapper TIME_ESTIMATE_CURR
public static final StatisticsMapper TIME_SPENT
public TimeTrackingStatisticsMapper(String documentConstant)
public Object getValueFromLuceneField(String documentValue)
LuceneFieldSorter
eg. '1000' -> Version 1.
For custom fields, the return value will be passed to
CustomFieldSearcherModuleDescriptor.getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)
getValueFromLuceneField
in interface LuceneFieldSorter
getValueFromLuceneField
in class LongFieldStatisticsMapper
documentValue
- The value of the field in the lucene indexCopyright © 2002-2015 Atlassian. All Rights Reserved.