Class LoggingRestoreProgressMonitor
java.lang.Object
com.atlassian.confluence.activeobjects.backup.LoggingRestoreProgressMonitor
- All Implemented Interfaces:
com.atlassian.activeobjects.spi.RestoreProgressMonitor
public class LoggingRestoreProgressMonitor
extends Object
implements com.atlassian.activeobjects.spi.RestoreProgressMonitor
A simple implementation of the backup progress monitor that logs progress to SLF4J.
Most logging is performed at INFO level.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
beginTableCreationRestore
(String tableName) void
beginTableDataRestore
(String tableName) void
void
void
void
void
void
endTableCreationRestore
(String tableName) void
endTableDataRestore
(String tableName) void
void
void
void
updateTotalNumberOfTablesToRestore
(int tableCount)
-
Constructor Details
-
LoggingRestoreProgressMonitor
public LoggingRestoreProgressMonitor()
-
-
Method Details
-
beginRestore
public void beginRestore()- Specified by:
beginRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endRestore
public void endRestore()- Specified by:
endRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
beginDatabaseInformationRestore
public void beginDatabaseInformationRestore()- Specified by:
beginDatabaseInformationRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
beginTableDefinitionsRestore
public void beginTableDefinitionsRestore()- Specified by:
beginTableDefinitionsRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
beginTablesRestore
public void beginTablesRestore()- Specified by:
beginTablesRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
beginTableDataRestore
- Specified by:
beginTableDataRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
beginTableCreationRestore
- Specified by:
beginTableCreationRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
beginTableRowRestore
public void beginTableRowRestore()- Specified by:
beginTableRowRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endDatabaseInformationRestore
public void endDatabaseInformationRestore()- Specified by:
endDatabaseInformationRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endTableDefinitionsRestore
public void endTableDefinitionsRestore()- Specified by:
endTableDefinitionsRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endTablesRestore
public void endTablesRestore()- Specified by:
endTablesRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endTableDataRestore
- Specified by:
endTableDataRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endTableCreationRestore
- Specified by:
endTableCreationRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endTableRowRestore
public void endTableRowRestore()- Specified by:
endTableRowRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
updateTotalNumberOfTablesToRestore
public void updateTotalNumberOfTablesToRestore(int tableCount) - Specified by:
updateTotalNumberOfTablesToRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-