Interface BackupContainerWriter
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
XmlBackupContainerWriter
Responsible for writing data (objects, properties, attachment's etc).
- Since:
- 7.20.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttachments
(Collection<AttachmentInfo> attachments) void
addDescriptionProperty
(String name, String value) void
addPluginModuleData
(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptor) void
close()
void
writeObjects
(Collection<EntityObjectReadyForExport> objects)
-
Method Details
-
writeObjects
- Throws:
BackupRestoreException
-
addAttachments
-
addDescriptionProperty
- Throws:
BackupRestoreException
-
addPluginModuleData
void addPluginModuleData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptor) throws BackupRestoreException - Throws:
BackupRestoreException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
BackupRestoreException
-
getOutputFile
File getOutputFile()- Returns:
- the generated output file.
-