public class JobExistingRepositoryRestore extends JobRepositoryRestore
Thread.State, Thread.UncaughtExceptionHandlerLOG, REPOSITORY_RESTORE_FAIL, REPOSITORY_RESTORE_INITIALIZED, REPOSITORY_RESTORE_STARTED, REPOSITORY_RESTORE_SUCCESSFUL, repositoryEntry, repositoryService, workspacesMappingMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
JobExistingRepositoryRestore(RepositoryService repoService,
BackupManagerImpl backupManagerImpl,
RepositoryEntry repositoryEntry,
Map<String,File> workspacesMapping,
File backupChainLogFile)
JobExistingRepositoryRestore constructor.
|
JobExistingRepositoryRestore(RepositoryService repoService,
BackupManagerImpl backupManagerImpl,
RepositoryEntry repositoryEntry,
Map<String,File> workspacesMapping,
File backupChainLogFile,
boolean removeJobOnceOver)
JobExistingRepositoryRestore constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
removeRepository(RepositoryService repositoryService,
String repositoryName)
Remove repository.
|
protected void |
restoreRepository()
Will be restored the workspace.
|
getEndTime, getRepositoryBackupChainLog, getRepositoryEntry, getRepositoryName, getRestoreException, getStartTime, getStateRestore, restore, runactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic JobExistingRepositoryRestore(RepositoryService repoService, BackupManagerImpl backupManagerImpl, RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile)
public JobExistingRepositoryRestore(RepositoryService repoService, BackupManagerImpl backupManagerImpl, RepositoryEntry repositoryEntry, Map<String,File> workspacesMapping, File backupChainLogFile, boolean removeJobOnceOver)
protected void restoreRepository()
throws RepositoryRestoreExeption
JobRepositoryRestorerestoreRepository in class JobRepositoryRestoreRepositoryRestoreExeptionprotected void removeRepository(RepositoryService repositoryService, String repositoryName) throws javax.jcr.RepositoryException, RepositoryConfigurationException
removeRepository in class JobRepositoryRestorerepositoryService - RepositoryService, the repository servicerepositoryName - String, the repository namejavax.jcr.RepositoryException - will be generated the RepositoryExceptionRepositoryConfigurationExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.