public abstract class AbstractIssueDataCallback extends Object implements IssueDataCallback
Constructor and Description |
---|
AbstractIssueDataCallback() |
AbstractIssueDataCallback(String... fields) |
Modifier and Type | Method and Description |
---|---|
void |
fieldData(Long issueId,
String issueKey,
String fieldName,
String data)
This callback is being called for every issue that matches the query.
|
Set<String> |
getFields()
see DocumentConstants for possible values.
|
void |
issueComplete(Long issueId,
String issueKey,
io.atlassian.fugue.Option<org.apache.lucene.document.Document> issueDoc)
Called when all fieldData was returned for a single issue.
|
boolean |
requiresIssueDoc()
Does this callback require a full Lucene issue document.
|
public AbstractIssueDataCallback()
public AbstractIssueDataCallback(String... fields)
public boolean requiresIssueDoc()
IssueDataCallback
requiresIssueDoc
in interface IssueDataCallback
public Set<String> getFields()
IssueDataCallback
getFields
in interface IssueDataCallback
public void fieldData(Long issueId, String issueKey, String fieldName, String data)
IssueDataCallback
fieldData
in interface 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(Long issueId, String issueKey, io.atlassian.fugue.Option<org.apache.lucene.document.Document> issueDoc)
IssueDataCallback
issueComplete
in interface IssueDataCallback
issueId
- is the issue idissueKey
- is the issue keyissueDoc
- is an optional Lucene issue documentCopyright © 2007–2025 Atlassian. All rights reserved.