org.jenkinsci.plugins.periodicbackup
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
 void restore(java.io.File finalResultDir)
          Restores content of the tempDir
 

Method Detail

restore

void restore(java.io.File finalResultDir)
             throws java.io.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:
java.io.IOException - If an IO problem occurs
PeriodicBackupException - If other problem occurs


Copyright © 2004-2013. All Rights Reserved.