RemoveTask

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.tasks.ITreeAlgorithm

public class RemoveTask implements ITreeAlgorithm<Task>

Removes the specified task from a tree of tasks.

Constructors

ConstructorDescription
RemoveTask(Task task)Initializes a new instance of the RemoveTask class.

Methods

MethodDescription
alg(Task el, int level)Do nothing.
postAlg(Task el, int level)Do nothing.
preAlg(Task el, int level)Removes the task from the specified parent task.

RemoveTask(Task task)

public RemoveTask(Task task)

Initializes a new instance of the RemoveTask class.

Parameters:

ParameterTypeDescription
taskTaskTask to remove.

alg(Task el, int level)

public final void alg(Task el, int level)

Do nothing.

Parameters:

ParameterTypeDescription
elTaskObject to process.
levelintTree node level.

postAlg(Task el, int level)

public final void postAlg(Task el, int level)

Do nothing.

Parameters:

ParameterTypeDescription
elTaskObject to process.
levelintTree node level.

preAlg(Task el, int level)

public final void preAlg(Task el, int level)

Removes the task from the specified parent task.

Parameters:

ParameterTypeDescription
elTaskParent task.
levelintTree node level.