Class 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 Detail

      • LoggingBackupProgressMonitor

        public LoggingBackupProgressMonitor()
    • Method Detail

      • beginBackup

        public void beginBackup()
        Specified by:
        beginBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • endBackup

        public void endBackup()
        Specified by:
        endBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • beginDatabaseInformationBackup

        public void beginDatabaseInformationBackup()
        Specified by:
        beginDatabaseInformationBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • beginTableDefinitionsBackup

        public void beginTableDefinitionsBackup()
        Specified by:
        beginTableDefinitionsBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • beginTablesBackup

        public void beginTablesBackup()
        Specified by:
        beginTablesBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • beginTableBackup

        public void beginTableBackup​(String tableName)
        Specified by:
        beginTableBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • updateTotalNumberOfTablesToBackup

        public void updateTotalNumberOfTablesToBackup​(int tableCount)
        Specified by:
        updateTotalNumberOfTablesToBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • endDatabaseInformationBackup

        public void endDatabaseInformationBackup()
        Specified by:
        endDatabaseInformationBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • endTableDefinitionsBackup

        public void endTableDefinitionsBackup()
        Specified by:
        endTableDefinitionsBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • endTablesBackup

        public void endTablesBackup()
        Specified by:
        endTablesBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor
      • endTableBackup

        public void endTableBackup​(String tableName)
        Specified by:
        endTableBackup in interface com.atlassian.activeobjects.spi.BackupProgressMonitor