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