summaryrefslogtreecommitdiff
path: root/sources/core/VSTaskManager.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-25 08:43:10 +0000
committerPaul Buetow <paul@buetow.org>2008-05-25 08:43:10 +0000
commit1a7bb4cc9ab0ae182fa7283462f44758ec24c6ce (patch)
tree7e865f187214f9e35a6c29be2ebe272d6bbb4cd5 /sources/core/VSTaskManager.java
parenta206697fbafb48a26706e58daf8542401d617fef (diff)
JavaDoc.
Diffstat (limited to 'sources/core/VSTaskManager.java')
-rw-r--r--sources/core/VSTaskManager.java25
1 files changed, 12 insertions, 13 deletions
diff --git a/sources/core/VSTaskManager.java b/sources/core/VSTaskManager.java
index 272922f..2bc11db 100644
--- a/sources/core/VSTaskManager.java
+++ b/sources/core/VSTaskManager.java
@@ -9,7 +9,6 @@ import java.util.*;
import prefs.*;
import utils.*;
-// TODO: Auto-generated Javadoc
/**
* The Class VSTaskManager.
*/
@@ -173,7 +172,7 @@ public class VSTaskManager {
}
/**
- * Reset.
+ * Resets the task manager.
*/
public synchronized void reset() {
PriorityQueue<VSTask> tmp = tasks;
@@ -201,9 +200,9 @@ public class VSTaskManager {
}
/**
- * Insert.
+ * Inserts a task. Only for internal usage. Use the add methods instead.
*
- * @param task the task
+ * @param task the task to insert
*/
private void insert(VSTask task) {
if (task.timeOver())
@@ -217,19 +216,19 @@ public class VSTaskManager {
}
/**
- * Adds the task.
+ * Adds a task.
*
- * @param task the task
+ * @param task the task to add
*/
public void addTask(VSTask task) {
addTask(task, VSTaskManager.ONLY_ONCE);
}
/**
- * Adds the task.
+ * Adds a task.
*
- * @param task the task
- * @param isProgrammed the is programmed
+ * @param task the task to add
+ * @param isProgrammed the task is programmed
*/
public synchronized void addTask(VSTask task, boolean isProgrammed) {
task.isProgrammed(isProgrammed);
@@ -237,9 +236,9 @@ public class VSTaskManager {
}
/**
- * Removes the task.
+ * Removes a task.
*
- * @param task the task
+ * @param task the task to remove
*
* @return true, if successful
*/
@@ -257,9 +256,9 @@ public class VSTaskManager {
}
/**
- * Removes the tasks of.
+ * Removes the tasks of the specified process.
*
- * @param process the process
+ * @param process the process to remove the tasks of
*/
public synchronized void removeTasksOf(VSProcess process) {
ArrayList<VSTask> removeThose = new ArrayList<VSTask>();