@NotThreadSafe public static final class BackupService.RestoreActivity extends BackupService.Activity
BackupService.Activity
subclass that performs content restore operations.backupDirectory, binaryDirectory, binaryStore, changeDirectory, documentStore, problems, repositoryCache
Modifier | Constructor and Description |
---|---|
protected |
RestoreActivity(File backupDirectory,
LocalDocumentStore documentStore,
BinaryStore binaryStore,
RepositoryCache repositoryCache,
RestoreOptions options) |
Modifier and Type | Method and Description |
---|---|
protected BinaryKey |
binaryKeyFor(File binaryFile,
boolean isCompressed) |
Problems |
execute()
Execute the activity, using the repository state as it currently exists.
|
protected void |
restoreDocuments(File directory) |
backupLocation, repositoryName
protected RestoreActivity(File backupDirectory, LocalDocumentStore documentStore, BinaryStore binaryStore, RepositoryCache repositoryCache, RestoreOptions options)
public Problems execute()
BackupService.Activity
execute
in class BackupService.Activity
protected void restoreDocuments(File directory)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.