Class EstimatableIssueDataCallback
java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
com.atlassian.greenhopper.service.issue.callback.EstimatableIssueDataCallback
- All Implemented Interfaces:
IssueDataCallback
Collects estimatable issues.
-
Constructor Summary
ConstructorsConstructorDescriptionEstimatableIssueDataCallback(EstimateStatisticService estimateStatisticService, StatisticsField statisticsField, io.atlassian.fugue.Option<Set<String>> maybeAllIssueKeys) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfieldData(Long issueId, String issueKey, IssueFieldValueProvider issueFieldValueProvider) This callback is being called for every issue that matches the query.see DocumentConstants for possible values.Methods inherited from class com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
fieldData, issueComplete, requiresIssueDoc
-
Constructor Details
-
EstimatableIssueDataCallback
public EstimatableIssueDataCallback(EstimateStatisticService estimateStatisticService, StatisticsField statisticsField, io.atlassian.fugue.Option<Set<String>> maybeAllIssueKeys)
-
-
Method Details
-
getFields
Description copied from interface:IssueDataCallbacksee DocumentConstants for possible values. These are the issue fields that we want to read from the Lucene index. -
fieldData
protected void fieldData(Long issueId, String issueKey, IssueFieldValueProvider issueFieldValueProvider) Description copied from class:AbstractCompoundDataCallbackThis callback is being called for every issue that matches the query. For memory efficiency, try to avoid buffering all results in memory but rather stream them to the target object, like a REST template. This is only called once per issue.- Specified by:
fieldDatain classAbstractCompoundDataCallbackissueFieldValueProvider- : The data from the document that matches our selected fields.
-
getEstimatableIssueKeys
-