@PublicAPI(stability=VOLATILE, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class RestoreConfig extends OperationConfig
Constructor and Description |
---|
RestoreConfig(BackupDirectory backupDirectory,
String backupID,
boolean verifyOnly)
Creates a new restore configuration with the provided information.
|
Modifier and Type | Method and Description |
---|---|
BackupDirectory |
getBackupDirectory()
Retrieves a reference to the directory containing the backup file(s) to restore.
|
String |
getBackupID()
Retrieves the identifier of the backup to be restored.
|
boolean |
verifyOnly()
Indicates whether the restore process should only attempt to verify the validity and/or integrity of the backup
files to the best of its ability rather than actually trying to restore.
|
cancel, isCancelled
public RestoreConfig(BackupDirectory backupDirectory, String backupID, boolean verifyOnly)
backupDirectory
- The reference to the directory containing the backup file(s) to restore.backupID
- The unique ID assigned to the backup that is to be restored.verifyOnly
- Indicates whether the specified backup should be verified only and not actually restored.public BackupDirectory getBackupDirectory()
public String getBackupID()
public boolean verifyOnly()
true
if this restore process should only attempt to verify the validity and/or integrity of
the backup files, or false
if it should actually attempt to restore the backup.Copyright © 2010–2017 ForgeRock AS. All rights reserved.