Class BackupContainerWriterFactoryImpl
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.backup.container.BackupContainerWriterFactoryImpl
-
- All Implemented Interfaces:
BackupContainerWriterFactory
public class BackupContainerWriterFactoryImpl extends Object implements BackupContainerWriterFactory
Default implementation for backup container writer factory.- Since:
- 7.20.0
-
-
Constructor Summary
Constructors Constructor Description BackupContainerWriterFactoryImpl(@NotNull ConfluenceDirectories confluenceDirectories, @NotNull ExportFileNameGenerator exportFileNameGenerator, @NotNull AttachmentDataFileSystemInternals localAttachmentDataFileSystem, @NotNull BackupRestoreProviderManager backupRestoreProviderManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupContainerWriter
createSiteBackupContainerWriter()
BackupContainerWriter
createSpaceBackupContainerWriter(Collection<Long> spaceIds)
-
-
-
Constructor Detail
-
BackupContainerWriterFactoryImpl
public BackupContainerWriterFactoryImpl(@NotNull @NotNull ConfluenceDirectories confluenceDirectories, @NotNull @NotNull ExportFileNameGenerator exportFileNameGenerator, @NotNull @NotNull AttachmentDataFileSystemInternals localAttachmentDataFileSystem, @NotNull @NotNull BackupRestoreProviderManager backupRestoreProviderManager)
-
-
Method Detail
-
createSpaceBackupContainerWriter
public BackupContainerWriter createSpaceBackupContainerWriter(Collection<Long> spaceIds) throws BackupRestoreException, IOException
- Specified by:
createSpaceBackupContainerWriter
in interfaceBackupContainerWriterFactory
- Throws:
BackupRestoreException
IOException
-
createSiteBackupContainerWriter
public BackupContainerWriter createSiteBackupContainerWriter() throws BackupRestoreException, IOException
- Specified by:
createSiteBackupContainerWriter
in interfaceBackupContainerWriterFactory
- Throws:
BackupRestoreException
IOException
-
-