summaryrefslogtreecommitdiff
path: root/sources/core/VSTaskManager.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-26 22:14:52 +0000
committerPaul Buetow <paul@buetow.org>2008-05-26 22:14:52 +0000
commit923b0503c91aa4a9c0bc94489caddf9ac94c5ad8 (patch)
tree74bf4a51494085c9ecb107d3facc31bb585669b4 /sources/core/VSTaskManager.java
parentfaee8241ff7972ceeb622e0793c655f301ef0bd0 (diff)
Two phase commit protocol works.
Diffstat (limited to 'sources/core/VSTaskManager.java')
-rw-r--r--sources/core/VSTaskManager.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/core/VSTaskManager.java b/sources/core/VSTaskManager.java
index 8572cec..08cb767 100644
--- a/sources/core/VSTaskManager.java
+++ b/sources/core/VSTaskManager.java
@@ -257,6 +257,16 @@ public class VSTaskManager {
}
/**
+ * Removes several tasks
+ *
+ * @param tasks the tasks to remove
+ */
+ public void removeAllTasks(ArrayList<VSTask> tasks) {
+ for (VSTask task : tasks)
+ removeTask(task);
+ }
+
+ /**
* Removes the tasks of the specified process.
*
* @param process the process to remove the tasks of