net.chaosserver.bilbo.task.clean
Class CleanTask

java.lang.Object
  |
  +--net.chaosserver.bilbo.task.BaseTask
        |
        +--net.chaosserver.bilbo.task.RecursiveTask
              |
              +--net.chaosserver.bilbo.task.RootFirstRecursiveTask
                    |
                    +--net.chaosserver.bilbo.task.clean.CleanTask
All Implemented Interfaces:
Task

public class CleanTask
extends RootFirstRecursiveTask

Cleans the mapping files out of a directory.

Since:
Bilbo 2.0

Field Summary
 
Fields inherited from class net.chaosserver.bilbo.task.BaseTask
settings
 
Constructor Summary
CleanTask()
           
 
Method Summary
 void execute(File currentDirectory)
          Deletes the mapping file out of the directory given.
 
Methods inherited from class net.chaosserver.bilbo.task.RootFirstRecursiveTask
executeRecursive
 
Methods inherited from class net.chaosserver.bilbo.task.RecursiveTask
executeSpecific, isRootDirectory
 
Methods inherited from class net.chaosserver.bilbo.task.BaseTask
execute, getHelpResource, getSettings, parseTaskArguments, printHelp, setSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanTask

public CleanTask()
Method Detail

execute

public void execute(File currentDirectory)
             throws CleanException
Deletes the mapping file out of the directory given.

Specified by:
execute in class RecursiveTask
Parameters:
currentDirectory - directory to clean the mapping file from
Throws:
CleanException - if something goes wrong.


Copyright © 20030415