public class ChildTasksCollector extends TreeAlgorithmBase<Task>
Collects all child tasks.
Constructor and Description |
---|
ChildTasksCollector()
Initializes a new instance of the
ChildTasksCollector class. |
Modifier and Type | Method and Description |
---|---|
void |
alg(Task el,
int level)
Processes the specified object.
|
List<Task> |
getTasks()
Gets a list collected child objects (tasks).
|
postAlg, preAlg
public ChildTasksCollector()
Initializes a new instance of the ChildTasksCollector
class.
public void alg(Task el, int level)
Processes the specified object.
alg
in interface ITreeAlgorithm<Task>
alg
in class TreeAlgorithmBase<Task>
el
- Object to process.level
- Tree node level.