Class EstimatableIssueDataCallback

java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback
com.atlassian.greenhopper.service.issue.callback.EstimatableIssueDataCallback
All Implemented Interfaces:
IssueDataCallback

public class EstimatableIssueDataCallback extends AbstractCompoundDataCallback
Collects estimatable issues.
  • Constructor Details

  • Method Details

    • getFields

      public Set<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.
    • fieldData

      protected void fieldData(Long issueId, String issueKey, IssueFieldValueProvider issueFieldValueProvider)
      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
      issueFieldValueProvider - : The data from the document that matches our selected fields.
    • getEstimatableIssueKeys

      public Set<String> getEstimatableIssueKeys()