org.jvnet.hudson.plugins.backup.utils
Class BackupEngine
java.lang.Object
org.apache.commons.io.DirectoryWalker
org.jvnet.hudson.plugins.backup.utils.BackupEngine
public class BackupEngine
- extends org.apache.commons.io.DirectoryWalker
| Nested classes/interfaces inherited from class org.apache.commons.io.DirectoryWalker |
org.apache.commons.io.DirectoryWalker.CancelException |
|
Constructor Summary |
BackupEngine(BackupLogger logger,
java.lang.String sourceDirectory,
java.lang.String targetName,
Archiver archiver,
org.apache.commons.io.filefilter.IOFileFilter filter)
|
|
Method Summary |
void |
doBackup()
|
protected void |
handleEnd(java.util.Collection results)
|
protected void |
handleFile(java.io.File file,
int depth,
java.util.Collection results)
|
| Methods inherited from class org.apache.commons.io.DirectoryWalker |
checkIfCancelled, handleCancelled, handleDirectory, handleDirectoryEnd, handleDirectoryStart, handleIsCancelled, handleRestricted, handleStart, walk |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackupEngine
public BackupEngine(BackupLogger logger,
java.lang.String sourceDirectory,
java.lang.String targetName,
Archiver archiver,
org.apache.commons.io.filefilter.IOFileFilter filter)
throws BackupException
- Throws:
BackupException
handleFile
protected void handleFile(java.io.File file,
int depth,
java.util.Collection results)
throws java.io.IOException
- Overrides:
handleFile in class org.apache.commons.io.DirectoryWalker
- Throws:
java.io.IOException
handleEnd
protected void handleEnd(java.util.Collection results)
throws java.io.IOException
- Overrides:
handleEnd in class org.apache.commons.io.DirectoryWalker
- Throws:
java.io.IOException
doBackup
public void doBackup()
throws BackupException
- Throws:
BackupException
Copyright © 2009. All Rights Reserved.