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 Constructor Description LoggingRestoreProgressMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginDatabaseInformationRestore()
void
beginRestore()
void
beginTableCreationRestore(String tableName)
void
beginTableDataRestore(String tableName)
void
beginTableDefinitionsRestore()
void
beginTableRowRestore()
void
beginTablesRestore()
void
endDatabaseInformationRestore()
void
endRestore()
void
endTableCreationRestore(String tableName)
void
endTableDataRestore(String tableName)
void
endTableDefinitionsRestore()
void
endTableRowRestore()
void
endTablesRestore()
void
updateTotalNumberOfTablesToRestore(int tableCount)
-
-
-
Method Detail
-
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
public void beginTableDataRestore(String tableName)
- Specified by:
beginTableDataRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
beginTableCreationRestore
public void beginTableCreationRestore(String tableName)
- 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
public void endTableDataRestore(String tableName)
- Specified by:
endTableDataRestore
in interfacecom.atlassian.activeobjects.spi.RestoreProgressMonitor
-
endTableCreationRestore
public void endTableCreationRestore(String tableName)
- 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
-
-