Class IssueCountStatisticsCallback
java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
com.atlassian.greenhopper.service.issue.callback.AbstractColumnStatisticsCallback
com.atlassian.greenhopper.service.issue.callback.IssueCountStatisticsCallback
- All Implemented Interfaces:
IssueDataCallback,RapidIssueEntryCallbackComponent
Very simple statistics callback - every document is worth 1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DoublegetStatisticsValue(Long issueId, String issueKey, IssueFieldValueProvider data) Compute the statistics value for this column constraint based on the document data.Methods inherited from class com.atlassian.greenhopper.service.issue.callback.AbstractColumnStatisticsCallback
fieldData, getFields, getStatisticsValuesByColumn, processFieldDataMethods inherited from class com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
fieldData, issueComplete, requiresIssueDoc
-
Constructor Details
-
IssueCountStatisticsCallback
-
-
Method Details
-
getStatisticsValue
@Nonnull protected Double getStatisticsValue(Long issueId, String issueKey, IssueFieldValueProvider data) Description copied from class:AbstractColumnStatisticsCallbackCompute the statistics value for this column constraint based on the document data.- Specified by:
getStatisticsValuein classAbstractColumnStatisticsCallback- Parameters:
issueId- issue IDissueKey- issue Keydata- all document data- Returns:
- the value
-