public class DefaultCsvIssueExporter extends Object implements CsvIssueExporter
Modifier and Type | Field and Description |
---|---|
protected JiraAuthenticationContext |
authenticationContext |
protected TableLayoutFactory |
tableLayoutFactory |
Constructor and Description |
---|
DefaultCsvIssueExporter(JiraAuthenticationContext authenticationContext,
TableLayoutFactory tableLayoutFactory,
SearchProviderFactory searchProviderFactory,
IssueFactory issueFactory,
SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
void |
export(Writer writer,
SearchRequest searchRequest,
SearchRequestParams searchRequestParams,
List<Field> fields)
Export the given search and fields and output it to the supplied writer.
|
protected final JiraAuthenticationContext authenticationContext
protected final TableLayoutFactory tableLayoutFactory
public DefaultCsvIssueExporter(JiraAuthenticationContext authenticationContext, TableLayoutFactory tableLayoutFactory, SearchProviderFactory searchProviderFactory, IssueFactory issueFactory, SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil, FeatureManager featureManager)
public void export(Writer writer, SearchRequest searchRequest, SearchRequestParams searchRequestParams, List<Field> fields) throws IOException, SearchException
IssueExporter
export
in interface IssueExporter
writer
- to export the output tosearchRequest
- to collect issues forsearchRequestParams
- to provide the context for the searchfields
- to export for these issuesIOException
SearchException
Copyright © 2002-2019 Atlassian. All Rights Reserved.