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

Field Summary
 
Fields inherited from class net.chaosserver.bilbo.task.BaseTask
settings
 
Constructor Summary
LeafFirstRecursiveTask()
           
 
Method Summary
protected  void executeRecursive(File currentDirectory)
          Recurses against all subdirectories executing the task starting at the leaves.
 
Methods inherited from class net.chaosserver.bilbo.task.RecursiveTask
execute, 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

LeafFirstRecursiveTask

public LeafFirstRecursiveTask()
Method Detail

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