Package com.atlassian.jira.bc.dataimport
Interface ExportService
- All Known Implementing Classes:
DefaultExportService
public interface ExportService
A service for the creation of JIRA XML backups.
- Since:
- v4.4
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionexport(ApplicationUser loggedInUser, String filename, ExportService.Style style, TaskProgressSink taskProgressSink) Export JIRA to the given filename with the specified backup style.export(ApplicationUser loggedInUser, String filename, TaskProgressSink taskProgressSink) Export JIRA to the given filename.exportForDevelopment(ApplicationUser loggedInUser, String xmlFilename, TaskProgressSink taskProgressSink) Export JIRA to the given filename.
-
Method Details
-
export
ServiceOutcome<Void> export(ApplicationUser loggedInUser, String filename, TaskProgressSink taskProgressSink) Export JIRA to the given filename. It will be a zip file, no matter what suffix you give it. Inside the zip file will be the JIRA XML and the ActiveObjects XML. This will use the NORMAL style.- Parameters:
filename- destination zipfile for the backup
-
export
ServiceOutcome<Void> export(ApplicationUser loggedInUser, String filename, ExportService.Style style, TaskProgressSink taskProgressSink) Export JIRA to the given filename with the specified backup style. It will be a zip file, no matter what suffix you give it. Inside the zip file will be the JIRA XML and the ActiveObjects XML.- Parameters:
filename- destination zipfile for the backupstyle- what time of backup we should perform.
-
exportForDevelopment
ServiceOutcome<Void> exportForDevelopment(ApplicationUser loggedInUser, String xmlFilename, TaskProgressSink taskProgressSink) Export JIRA to the given filename. Only a JIRA XML file will be created, This will use the NORMAL style.- Parameters:
xmlFilename- destination xmlfile for the backup
-