|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jenkinsci.plugins.periodicbackup.OverwriteRestorePolicy
public class OverwriteRestorePolicy
This RestorePolicy assumes that at this stage all the files in tempDir are the files to be restored. The whole content of the tempDir will be copied to the home directory and the existing files will be overwritten.
| Constructor Summary | |
|---|---|
OverwriteRestorePolicy()
|
|
| Method Summary | |
|---|---|
void |
restore(java.io.File tempDir)
Restores content of the tempDir |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OverwriteRestorePolicy()
| Method Detail |
|---|
public void restore(java.io.File tempDir)
throws java.io.IOException
RestorePolicy
restore in interface RestorePolicytempDir - temporary directory, at this point only unpacked content of the backup archives should be inside
java.io.IOException - If an IO problem occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||