|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.issue.callback.AbstractIssueDataCallback com.atlassian.greenhopper.service.issue.callback.SprintAndProjectsCallback
public class SprintAndProjectsCallback
Collects sprints and associated project ids
Constructor Summary | |
---|---|
SprintAndProjectsCallback(com.atlassian.jira.issue.fields.CustomField sprintCustomField)
|
Method Summary | |
---|---|
void |
fieldData(java.lang.Long issueId,
java.lang.String issueKey,
java.lang.String fieldName,
java.lang.String data)
This callback is being called for every issue that matches the query. |
java.util.Set<java.lang.String> |
getFields()
see DocumentConstants for possible values. |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getSprintToProjects()
Get the sprint ids mapped to a set of project ids |
void |
issueComplete(java.lang.Long issueId,
java.lang.String issueKey)
Called when all fieldData was returned for a single issue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SprintAndProjectsCallback(com.atlassian.jira.issue.fields.CustomField sprintCustomField)
Method Detail |
---|
public java.util.Set<java.lang.String> getFields()
IssueDataCallback
public void fieldData(java.lang.Long issueId, java.lang.String issueKey, java.lang.String fieldName, java.lang.String data)
IssueDataCallback
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.public void issueComplete(java.lang.Long issueId, java.lang.String issueKey)
IssueDataCallback
issueComplete
in interface IssueDataCallback
issueComplete
in class AbstractIssueDataCallback
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getSprintToProjects()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |