org.opennms.netmgt.provision.service.tasks
Class ContainerTask
java.lang.Object
org.opennms.netmgt.provision.service.tasks.Task
org.opennms.netmgt.provision.service.tasks.ContainerTask
- Direct Known Subclasses:
- BatchTask, SequenceTask
public class ContainerTask
- extends Task
| Methods inherited from class org.opennms.netmgt.provision.service.tasks.Task |
addDependent, doSubmit, getCoordinator, getMonitor, isFinished, isScheduled, markTaskAsCompleted, postSchedule, preSchedule, submitRunnable, toString, waitFor, waitFor |
m_triggerTask
protected final Task m_triggerTask
m_children
protected final List<Task> m_children
ContainerTask
public ContainerTask(DefaultTaskCoordinator coordinator,
ContainerTask parent)
addPrerequisite
public void addPrerequisite(Task task)
- Description copied from class:
Task
- Add's prereq as a Prerequisite of this task. In other words... this taks cannot run
until prereq was been complted.
- Overrides:
addPrerequisite in class Task
schedule
public void schedule()
- Description copied from class:
Task
- This is called to add the task to the queue of tasks that can be considered to be runnable
- Overrides:
schedule in class Task
getTriggerTask
protected Task getTriggerTask()
add
public void add(Task task)
completeSubmit
protected void completeSubmit()
- Description copied from class:
Task
- This method exists to allow a task to have no processing
- Overrides:
completeSubmit in class Task
add
public SyncTask add(Runnable runnable)
add
public SyncTask add(Runnable runnable,
String schedulingHint)
add
public <T> AsyncTask<T> add(Async<T> async,
Callback<T> cb)
addChildDependencies
protected void addChildDependencies(Task child)
Copyright © 2009. All Rights Reserved.