Interface RestorePolicy
-
- All Known Implementing Classes:
OverwriteRestorePolicy,ReplaceRestorePolicy
public interface RestorePolicyRestorePolicy implementation will determine how FileManager should handle files during restore execution
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrestore(File finalResultDir)Restores content of the tempDir
-
-
-
Method Detail
-
restore
void restore(File finalResultDir) throws IOException, org.jenkinsci.plugins.periodicbackup.PeriodicBackupException
Restores content of the tempDir- Parameters:
finalResultDir- temporary directory, at this point only unpacked content of the backup archives should be inside- Throws:
IOException- If an IO problem occursorg.jenkinsci.plugins.periodicbackup.PeriodicBackupException- If other problem occurs
-
-