Class LoggingBackupProgressMonitor
- java.lang.Object
-
- com.atlassian.confluence.activeobjects.backup.LoggingBackupProgressMonitor
-
- All Implemented Interfaces:
com.atlassian.activeobjects.spi.BackupProgressMonitor
public class LoggingBackupProgressMonitor extends Object implements com.atlassian.activeobjects.spi.BackupProgressMonitor
A simple implementation of the backup progress monitor that logs progress to SLF4J. Most logging is performed at INFO level.
-
-
Constructor Summary
Constructors Constructor Description LoggingBackupProgressMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginBackup()
void
beginDatabaseInformationBackup()
void
beginTableBackup(String tableName)
void
beginTableDefinitionsBackup()
void
beginTablesBackup()
void
endBackup()
void
endDatabaseInformationBackup()
void
endTableBackup(String tableName)
void
endTableDefinitionsBackup()
void
endTablesBackup()
void
updateTotalNumberOfTablesToBackup(int tableCount)
-
-
-
Method Detail
-
beginBackup
public void beginBackup()
- Specified by:
beginBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
endBackup
public void endBackup()
- Specified by:
endBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
beginDatabaseInformationBackup
public void beginDatabaseInformationBackup()
- Specified by:
beginDatabaseInformationBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
beginTableDefinitionsBackup
public void beginTableDefinitionsBackup()
- Specified by:
beginTableDefinitionsBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
beginTablesBackup
public void beginTablesBackup()
- Specified by:
beginTablesBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
beginTableBackup
public void beginTableBackup(String tableName)
- Specified by:
beginTableBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
updateTotalNumberOfTablesToBackup
public void updateTotalNumberOfTablesToBackup(int tableCount)
- Specified by:
updateTotalNumberOfTablesToBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
endDatabaseInformationBackup
public void endDatabaseInformationBackup()
- Specified by:
endDatabaseInformationBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
endTableDefinitionsBackup
public void endTableDefinitionsBackup()
- Specified by:
endTableDefinitionsBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
endTablesBackup
public void endTablesBackup()
- Specified by:
endTablesBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
endTableBackup
public void endTableBackup(String tableName)
- Specified by:
endTableBackup
in interfacecom.atlassian.activeobjects.spi.BackupProgressMonitor
-
-