public final class TaskList
extends java.util.ArrayList
Constructor and Description |
---|
TaskList() |
Modifier and Type | Method and Description |
---|---|
void |
executeAll(TaskContext tc,
AbstractProgressMonitor mon)
Execute all tasks in the list.
|
void |
load(java.net.URL url)
Load a list of tasks.
|
void |
save(java.net.URL url)
Save the task list to the specified url.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
public void save(java.net.URL url) throws java.io.IOException
url
- the URL to save the task list to.java.io.IOException
- if the task list could not be saved.public void load(java.net.URL url) throws java.io.IOException
url
- java.io.IOException
public void executeAll(TaskContext tc, AbstractProgressMonitor mon) throws TaskFailedException
tc
- the context in which to run the tasks.TaskFailedException
- if a task failed. All tasks will have been
rolled back.