public class BackupDescriptorWriter extends Object
| Constructor and Description |
|---|
BackupDescriptorWriter() |
| Modifier and Type | Method and Description |
|---|---|
ExportDescriptor |
writeBackupDescriptor(BackupContainerWriter backupContainerWriter,
ExportScope exportScope,
boolean backupAttachments,
String spaceKey,
Long objectsCount)
BackupDescriptorWriter was created as an equivalent of the existing legacy code from
com.atlassian.confluence.importexport.impl.AbstractXmlExporter (will disapper in Confluence 8.0).
|
public ExportDescriptor writeBackupDescriptor(BackupContainerWriter backupContainerWriter, ExportScope exportScope, boolean backupAttachments, String spaceKey, Long objectsCount) throws BackupRestoreException
backupContainerWriter - container writer (accepts properties and writes them somewhere)exportScope - legacy export scope (space / site)backupAttachments - true if attachments were exportedspaceKey - space keyobjectsCount - number of exported objectsBackupRestoreExceptionCopyright © 2003–2022 Atlassian. All rights reserved.