ChildTasksCollector

Inheritance: java.lang.Object, com.aspose.tasks.TreeAlgorithmBase

public class ChildTasksCollector extends TreeAlgorithmBase<Task>

Collects all child tasks.

Constructors

ConstructorDescription
ChildTasksCollector()Initializes a new instance of the ChildTasksCollector class.

Methods

MethodDescription
alg(Task el, int level)Processes the specified object.
getTasks()Gets a list collected child objects (tasks).

ChildTasksCollector()

public ChildTasksCollector()

Initializes a new instance of the ChildTasksCollector class.

alg(Task el, int level)

public void alg(Task el, int level)

Processes the specified object.

Parameters:

ParameterTypeDescription
elTaskObject to process.
levelintTree node level.

getTasks()

public final List<Task> getTasks()

Gets a list collected child objects (tasks).

Returns: java.util.List<com.aspose.tasks.Task> - a list collected child objects (tasks).