com.atlassian.greenhopper.service.issue.callback
Class JiraFieldStatisticsCallback
java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
com.atlassian.greenhopper.service.issue.callback.AbstractColumnStatisticsCallback
com.atlassian.greenhopper.service.issue.callback.JiraFieldStatisticsCallback
- All Implemented Interfaces:
- IssueDataCallback, RapidIssueEntryCallbackComponent
public class JiraFieldStatisticsCallback
- extends AbstractColumnStatisticsCallback
If and when fields are supported as a column constraint, this will be used to calculate the value of each document
by looking up the field's indexed value.
- See Also:
ColumnStatisticsCallbackFactory
Method Summary |
protected java.lang.Double |
getStatisticsValue(java.lang.Long issueId,
java.lang.String issueKey,
IssueFieldValueProvider data)
Compute the statistics value for this column constraint based on the document data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraFieldStatisticsCallback
public JiraFieldStatisticsCallback(java.util.Map<java.lang.String,Column> columnsByStatusId,
StatisticsFieldConfig statisticsField)
getStatisticsValue
@Nonnull
protected java.lang.Double getStatisticsValue(java.lang.Long issueId,
java.lang.String issueKey,
IssueFieldValueProvider data)
- Description copied from class:
AbstractColumnStatisticsCallback
- Compute the statistics value for this column constraint based on the document data.
- Specified by:
getStatisticsValue
in class AbstractColumnStatisticsCallback
- Parameters:
issueId
- issue IDissueKey
- issue Keydata
- all document data
- Returns:
- the value
Copyright © 2007-2013 Atlassian. All Rights Reserved.