Interface RestorePolicy
-
- All Known Implementing Classes:
OverwriteRestorePolicy
,ReplaceRestorePolicy
public interface RestorePolicy
RestorePolicy implementation will determine how FileManager should handle files during restore execution
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
restore(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
-
-