Class JobExistingRepositorySameConfigRestore
- java.lang.Object
-
- java.lang.Thread
-
- org.exoplatform.services.jcr.ext.backup.impl.JobRepositoryRestore
-
- org.exoplatform.services.jcr.ext.backup.impl.JobExistingRepositorySameConfigRestore
-
- All Implemented Interfaces:
Runnable
public class JobExistingRepositorySameConfigRestore extends JobRepositoryRestore
Created by The eXo Platform SAS. Date: 24 01 2011- Version:
- $Id: JobExistingRepositorySameConfigRestore.java 34360 2010-11-11 11:11:11Z tolusha $
- Author:
- Anatoliy Bazko
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class org.exoplatform.services.jcr.ext.backup.impl.JobRepositoryRestore
LOG, REPOSITORY_RESTORE_FAIL, REPOSITORY_RESTORE_INITIALIZED, REPOSITORY_RESTORE_STARTED, REPOSITORY_RESTORE_SUCCESSFUL, repositoryEntry, repositoryService, workspacesMapping
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description JobExistingRepositorySameConfigRestore(org.exoplatform.services.jcr.RepositoryService repoService, BackupManagerImpl backupManagerImpl, org.exoplatform.services.jcr.config.RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile)JobExistingRepositorySameConfigRestore constructor.JobExistingRepositorySameConfigRestore(org.exoplatform.services.jcr.RepositoryService repoService, BackupManagerImpl backupManagerImpl, org.exoplatform.services.jcr.config.RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile, boolean removeJobOnceOver)JobExistingRepositorySameConfigRestore constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidrestoreRepository()Will be restored the workspace.-
Methods inherited from class org.exoplatform.services.jcr.ext.backup.impl.JobRepositoryRestore
getEndTime, getRepositoryBackupChainLog, getRepositoryEntry, getRepositoryName, getRestoreException, getStartTime, getStateRestore, removeRepository, restore, run
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
JobExistingRepositorySameConfigRestore
public JobExistingRepositorySameConfigRestore(org.exoplatform.services.jcr.RepositoryService repoService, BackupManagerImpl backupManagerImpl, org.exoplatform.services.jcr.config.RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile)JobExistingRepositorySameConfigRestore constructor.
-
JobExistingRepositorySameConfigRestore
public JobExistingRepositorySameConfigRestore(org.exoplatform.services.jcr.RepositoryService repoService, BackupManagerImpl backupManagerImpl, org.exoplatform.services.jcr.config.RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile, boolean removeJobOnceOver)JobExistingRepositorySameConfigRestore constructor.
-
-
Method Detail
-
restoreRepository
protected void restoreRepository() throws RepositoryRestoreExeptionWill be restored the workspace.- Overrides:
restoreRepositoryin classJobRepositoryRestore- Throws:
RepositoryRestoreExeption
-
-