| |
|
| org.cougaar.core.plugin.deletion.DeletionPlugin org.cougaar.planning.plugin.deletion.TaskDeletionPlugin
TaskDeletionPlugin | public class TaskDeletionPlugin extends DeletionPlugin (Code) | | DeletionPlugin provides generic deletion services to a agent.
These consist of:
Identification of deletable Allocations to non-org assets
Identification of tasks having deletable dispositions (PlanElements)
Removal of deletable subtasks from Expansions
Identification of Aggregations to deletable tasks
|
wakeCount | protected int wakeCount(Code) | | |
checkDeletables | protected void checkDeletables()(Code) | | Called from execute when the alarm expires.
The procedure is:
Find new allocations for tasks that deletable and mark the allocations
Find tasks with deletable dispositions and mark them
Find deletable tasks that are subtasks of an expansion and
remove them from the expansion and remove them from the
logplan.
|
setupSubscriptions | protected void setupSubscriptions()(Code) | | Setup subscriptions. We maintain no standing subscriptions, but
we do have parameters to initialize -- the period between
deletion activities and the deletion time margin.
|
|
|
|