Class StatusProgressCallback
java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractIssueDataCallback
com.atlassian.greenhopper.service.issue.callback.StatusProgressCallback
- All Implemented Interfaces:
IssueDataCallback
Initialised with the mapping of
ColumnProgress to their sets of Status objects, this callback inspects
the status of each issue and assigns it to the appropriate ColumnProgress in a map.-
Field Summary
Fields inherited from class com.atlassian.greenhopper.service.issue.callback.AbstractIssueDataCallback
fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis 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.AbstractIssueDataCallback
issueComplete, requiresIssueDoc
-
Constructor Details
-
StatusProgressCallback
-
-
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.- Specified by:
getFieldsin interfaceIssueDataCallback- Overrides:
getFieldsin classAbstractIssueDataCallback
-
fieldData
Description copied from interface:IssueDataCallbackThis 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.- Specified by:
fieldDatain interfaceIssueDataCallback- Overrides:
fieldDatain classAbstractIssueDataCallback- Parameters:
fieldName- : The name of the field that this value belongs to. One of the fields specified in getFields(). See DocumentConstants for possible values.statusId- : The raw Lucene data for the given field. Can be null.
-
getIssuesToColumnProgress
- Returns:
- a mapping of issue IDs to the
ColumnProgressthey are included in.
-