com.chaosserver.bilbo.task.clean
Class CleanTask

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

public class CleanTask
extends BaseTask

Cleans the mapping files out of a directory.

Since:
Bilbo 2.0

Field Summary
 
Fields inherited from class com.chaosserver.bilbo.task.BaseTask
DEFAULT_HELP, settings
 
Constructor Summary
CleanTask()
           
 
Method Summary
 void execute(File currentDirectory)
          Deletes the mapping file out of the directory given.
 void parseTaskArguments(String argumentString)
          Parses the task specific argument string.
 
Methods inherited from class com.chaosserver.bilbo.task.BaseTask
execute, executeRecursive, getHelpResource, getSettings, 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

parseTaskArguments

public void parseTaskArguments(String argumentString)
Description copied from interface: Task
Parses the task specific argument string.

Parameters:
argumentString - the task specific argument string

execute

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

Specified by:
execute in class BaseTask
Parameters:
currentDirectory - the directory to execute the task against
Throws:
CleanException - if something goes wrong.


Copyright © 20020228