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,
CsvInjectionProtection csvInjectionProtection) |
| 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, CsvInjectionProtection csvInjectionProtection)
public void export(Writer writer, SearchRequest searchRequest, SearchRequestParams searchRequestParams, List<Field> fields) throws IOException, SearchException
IssueExporterexport in interface IssueExporterwriter - to export the output tosearchRequest - to collect issues forsearchRequestParams - to provide the context for the searchfields - to export for these issuesIOExceptionSearchExceptionCopyright © 2002-2024 Atlassian. All Rights Reserved.