com.atlassian.greenhopper.web.rapid.sprint
Class CreateSprintHelper.IssueKeysAndStatisticsCallback
java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
com.atlassian.greenhopper.web.rapid.sprint.CreateSprintHelper.IssueKeysAndStatisticsCallback
- All Implemented Interfaces:
- IssueDataCallback
- Enclosing class:
- CreateSprintHelper
public static class CreateSprintHelper.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 |
CreateSprintHelper.IssueKeysAndStatisticsCallback
public CreateSprintHelper.IssueKeysAndStatisticsCallback(com.atlassian.jira.issue.Issue lastIssue,
DocumentStatisticValueResolver documentStatisticValueResolver,
EstimateStatisticService estimateStatisticService)
fieldData
protected void fieldData(java.lang.Long issueId,
java.lang.String issueKey,
java.util.Map<java.lang.String,java.lang.String> 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.
getLastIssue
public com.atlassian.jira.issue.Issue getLastIssue()
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()
isLastIssueFound
public boolean isLastIssueFound()
Copyright © 2007-2012 Atlassian. All Rights Reserved.