public class ReplaceRestorePolicy extends Object implements RestorePolicy
| Constructor and Description |
|---|
ReplaceRestorePolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
void |
restore(File tempDir)
Restores content of the tempDir
|
public void restore(File tempDir) throws IOException, org.jenkinsci.plugins.periodicbackup.PeriodicBackupException
RestorePolicyrestore in interface RestorePolicytempDir - temporary directory, at this point only unpacked content of the backup archives should be insideIOException - If an IO problem occursPeriodicBackupException - If other problem occursCopyright © 2016–2022. All rights reserved.