RemoveTask
Contents
[
Hide
]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
Constructor | Description |
---|---|
RemoveTask(Task task) | Initializes a new instance of the RemoveTask class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
task | Task | Task to remove. |
alg(Task el, int level)
public final void alg(Task el, int level)
Do nothing.
Parameters:
Parameter | Type | Description |
---|---|---|
el | Task | Object to process. |
level | int | Tree node level. |
postAlg(Task el, int level)
public final void postAlg(Task el, int level)
Do nothing.
Parameters:
Parameter | Type | Description |
---|---|---|
el | Task | Object to process. |
level | int | Tree node level. |
preAlg(Task el, int level)
public final void preAlg(Task el, int level)
Removes the task from the specified parent task.
Parameters:
Parameter | Type | Description |
---|---|---|
el | Task | Parent task. |
level | int | Tree node level. |