public class ChildTasksCollector extends Object implements ITreeAlgorithm<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()
Returns list of collected child objects (tasks).
|
void |
postAlg(Task el,
int level)
Do nothing.
|
void |
preAlg(Task el,
int level)
Do nothing.
|
public ChildTasksCollector()
Initializes a new instance of the ChildTasksCollector
class.
public List<Task> getTasks()
public void alg(Task el, int level)
Processes the specified object.
alg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public void postAlg(Task el, int level)
Do nothing.
postAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public void preAlg(Task el, int level)
Do nothing.
preAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.