org.jvnet.hudson.plugins.backup.utils
Class BackupEngine

java.lang.Object
  extended by org.apache.commons.io.DirectoryWalker
      extended by org.jvnet.hudson.plugins.backup.utils.BackupEngine

public class BackupEngine
extends org.apache.commons.io.DirectoryWalker


Nested Class Summary
 
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, java.io.FileFilter 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
 

Constructor Detail

BackupEngine

public BackupEngine(BackupLogger logger,
                    java.lang.String sourceDirectory,
                    java.lang.String targetName,
                    Archiver archiver,
                    java.io.FileFilter filter)
             throws BackupException
Throws:
BackupException
Method Detail

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.