public final class

FileBackupImporter

extends BackupImporter
java.lang.Object
   ↳ com.atlassian.confluence.importexport.Importer
     ↳ com.atlassian.confluence.importexport.xmlimport.BackupImporter
       ↳ com.atlassian.confluence.importexport.xmlimport.FileBackupImporter

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.importexport.xmlimport.BackupImporter
[Expand]
Inherited Fields
From class com.atlassian.confluence.importexport.Importer
Public Constructors
FileBackupImporter()
Public Methods
InputStream getXmlEntitiesStream()
void setBandanaConfigMigrator(BandanaConfigMigrator bandanaConfigMigrator)
void setBootstrapManager(BootstrapManager bootstrapManager)
Protected Methods
Properties getDescriptorProperties()
void importAttachments(ImportProcessorSummary context, File extractedDir)
Copies the attachments from the import location into the configured Confluence attachment store.
ImportProcessorSummary importEverything()
void postImportAndCleanUp()
Perform any special logic after the import and post-import tasks are complete.
void preImport()
Perform any special logic prior to the import starting.
[Expand]
Inherited Methods
From class com.atlassian.confluence.importexport.xmlimport.BackupImporter
From class com.atlassian.confluence.importexport.Importer
From class java.lang.Object

Public Constructors

public FileBackupImporter ()

Public Methods

public InputStream getXmlEntitiesStream ()

public void setBandanaConfigMigrator (BandanaConfigMigrator bandanaConfigMigrator)

public void setBootstrapManager (BootstrapManager bootstrapManager)

Protected Methods

protected Properties getDescriptorProperties ()

protected void importAttachments (ImportProcessorSummary context, File extractedDir)

Copies the attachments from the import location into the configured Confluence attachment store.

Throws
HibernateException
ImportExportException

protected ImportProcessorSummary importEverything ()

protected void postImportAndCleanUp ()

Perform any special logic after the import and post-import tasks are complete. This method will run even if the import fails. The default implementation does nothing.

protected void preImport ()

Perform any special logic prior to the import starting. Default implementation does nothing.