com.atlassian.greenhopper.service.issue.callback
Interface IssueCompoundDataCallback

All Superinterfaces:
IssueDataCallback

public interface IssueCompoundDataCallback
extends IssueDataCallback

A specialisation of IssueDataCallback which wants all fields and their values in one go to do more complex processing.


Method Summary
 void fieldData(java.lang.Long issueId, java.lang.String issueKey, java.util.Map<java.lang.String,java.lang.String> data)
          This callback is being called for every issue that matches the query.
 
Methods inherited from interface com.atlassian.greenhopper.service.issue.callback.IssueDataCallback
fieldData, getFields, issueComplete
 

Method Detail

fieldData

void fieldData(java.lang.Long issueId,
               java.lang.String issueKey,
               java.util.Map<java.lang.String,java.lang.String> data)
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.

Parameters:
data - : The data from the document that matches our selected fields.
data - : The raw Lucene data for the given field. Can be null.


Copyright © 2007-2014 Atlassian. All Rights Reserved.