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()
Gets a list 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 final void alg(Task el, int level)
Processes the specified object.
alg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public final List<Task> getTasks()
Gets a list collected child objects (tasks).
public final void postAlg(Task el, int level)
Do nothing.
postAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.public final void preAlg(Task el, int level)
Do nothing.
preAlg
in interface ITreeAlgorithm<Task>
el
- Object to process.level
- Tree node level.