net.chaosserver.bilbo.task
Class RootFirstRecursiveTask
java.lang.Object
|
+--net.chaosserver.bilbo.task.BaseTask
|
+--net.chaosserver.bilbo.task.RecursiveTask
|
+--net.chaosserver.bilbo.task.RootFirstRecursiveTask
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- CleanTask, ConvertTask, GenerateTask, ValidateTask
- public abstract class RootFirstRecursiveTask
- extends RecursiveTask
Recursive task that first executes against the current level directory
and recurses on each leaf of the level.
- Since:
- Bilbo 2.1
- See Also:
LeafFirstRecursiveTask
Method Summary |
protected void |
executeRecursive(File currentDirectory)
Executes this task against the given directory, then recursive
against all subdirectories. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootFirstRecursiveTask
public RootFirstRecursiveTask()
executeRecursive
protected void executeRecursive(File currentDirectory)
throws TaskException
- Executes this task against the given directory, then recursive
against all subdirectories.
- Specified by:
executeRecursive
in class RecursiveTask
- Parameters:
currentDirectory
- the directory to execute the task against
- Throws:
TaskException
- is something goes wrong
Copyright © 20030415