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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CleanTask
public CleanTask()
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