final protected void restore ( ) throws RepositoryRestoreExeption { try { stateRestore = REPOSITORY_RESTORE_STARTED ; startTime = Calendar . getInstance ( ) ; restoreRepository ( ) ; stateRestore = REPOSITORY_RESTORE_SUCCESSFUL ; endTime = Calendar . getInstance ( ) ; } catch ( Throwable t ) //NOSONAR { stateRestore = REPOSITORY_RESTORE_FAIL ; restoreException = t ; throw new RepositoryRestoreExeption ( t . getMessage ( ) , t ) ; } finally { if ( removeJobOnceOver ) { backupManager . restoreRepositoryJobs . remove ( this ) ; } } }
Restore repository . Provide information about start and finish process .