com.atlassian.greenhopper.web.rapid.sprint
Class StartSprintHelper.IssueKeysAndStatisticsCallback
java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
com.atlassian.greenhopper.web.rapid.sprint.StartSprintHelper.IssueKeysAndStatisticsCallback
- All Implemented Interfaces:
- IssueDataCallback
- Enclosing class:
- StartSprintHelper
public static class StartSprintHelper.IssueKeysAndStatisticsCallback
- extends AbstractCompoundDataCallback
Gathers all issue keys as well as statistics field values up to (including) a lastIssue.
Used to find all issues in sprint.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartSprintHelper.IssueKeysAndStatisticsCallback
public StartSprintHelper.IssueKeysAndStatisticsCallback(Sprint sprint,
DocumentStatisticValueResolver documentStatisticValueResolver,
EstimateStatisticService estimateStatisticService)
fieldData
protected void fieldData(java.lang.Long issueId,
java.lang.String issueKey,
IssueFieldValueProvider data)
- Description copied from class:
AbstractCompoundDataCallback
- This 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:
fieldData
in class AbstractCompoundDataCallback
data
- : The data from the document that matches our selected fields.
getFields
public java.util.Set<java.lang.String> getFields()
- Description copied from interface:
IssueDataCallback
- see DocumentConstants for possible values. These are the issue fields that we want to read from the Lucene index.
getStatsValue
public double getStatsValue()
getCountNotEstimatedIssues
public int getCountNotEstimatedIssues()
getIssuesNotEstimated
public java.util.List<java.lang.String> getIssuesNotEstimated()
getIssueKeys
public java.util.List<java.lang.String> getIssueKeys()
Copyright © 2007-2014 Atlassian. All Rights Reserved.