public class

TimeTrackingStatisticsMapper

extends LongFieldStatisticsMapper
java.lang.Object
   ↳ com.atlassian.jira.issue.statistics.LongFieldStatisticsMapper
     ↳ com.atlassian.jira.issue.statistics.TimeTrackingStatisticsMapper

Class Overview

A StatisticsMapper specifically for OriginalEstimateSystemField, TimeEstimateSystemField and TimeSpentSystemField as their index values are stored in a specific format.

Summary

Fields
public static final StatisticsMapper TIME_ESTIMATE_CURR
public static final StatisticsMapper TIME_ESTIMATE_ORIG
public static final StatisticsMapper TIME_SPENT
[Expand]
Inherited Fields
From class com.atlassian.jira.issue.statistics.LongFieldStatisticsMapper
Public Constructors
TimeTrackingStatisticsMapper(String documentConstant)
Public Methods
Object getValueFromLuceneField(String documentValue)
Convert the lucene document field back to the object that you wish to use to display it.
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.statistics.LongFieldStatisticsMapper
From class java.lang.Object
From interface com.atlassian.jira.issue.search.LuceneFieldSorter
From interface com.atlassian.jira.issue.statistics.StatisticsMapper

Fields

public static final StatisticsMapper TIME_ESTIMATE_CURR

public static final StatisticsMapper TIME_ESTIMATE_ORIG

public static final StatisticsMapper TIME_SPENT

Public Constructors

public TimeTrackingStatisticsMapper (String documentConstant)

Public Methods

public Object getValueFromLuceneField (String documentValue)

Convert 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 getStatHtml(com.atlassian.jira.issue.fields.CustomField, Object, String)

Parameters
documentValue The value of the field in the lucene index
Returns
  • The value that will be passed to the display