Class IssueIdCallback

java.lang.Object
com.atlassian.greenhopper.service.issue.callback.AbstractIssueDataCallback
com.atlassian.greenhopper.service.issue.callback.IssueIdCallback
All Implemented Interfaces:
IssueDataCallback

public class IssueIdCallback extends AbstractIssueDataCallback
Lightweight IssueDataCallback that only stores issue ids. Useful for when trying to take a find issue subsets based on extra clauses.
  • Constructor Details

    • IssueIdCallback

      public IssueIdCallback()
  • Method Details

    • fieldData

      public void fieldData(Long issueId, String issueKey, String fieldName, String data)
      Description copied from interface: IssueDataCallback
      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.
      Specified by:
      fieldData in interface IssueDataCallback
      Overrides:
      fieldData in class AbstractIssueDataCallback
      fieldName - : The name of the field that this value belongs to. One of the fields specified in getFields(). See DocumentConstants for possible values.
      data - : The raw Lucene data for the given field. Can be null.
    • getIssueIds

      public Set<Long> getIssueIds()