diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-18 20:20:53 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-18 20:20:53 +0000 |
| commit | ace76b508e2f6c1bc420112306ebee52f478de13 (patch) | |
| tree | afaba5e0bbaf5a8e063e168ae478eae7f8056407 /sources/core/VSTask.java | |
| parent | 5d50dcd635b9f17eb89688650860730b8e3e859f (diff) | |
Process Crash and Process Recover Events work with the new Task maanger.
Diffstat (limited to 'sources/core/VSTask.java')
| -rw-r--r-- | sources/core/VSTask.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/core/VSTask.java b/sources/core/VSTask.java index eef2642..503d57e 100644 --- a/sources/core/VSTask.java +++ b/sources/core/VSTask.java @@ -47,6 +47,13 @@ public class VSTask implements Comparable { return false; } + public boolean equals(VSTask task) { + return event.equals(task.getEvent()) + && taskTime == task.getTaskTime() + && isGlobalTimed == task.isGlobalTimed() + && isProgrammed == task.isProgrammed; + } + public boolean isProcess(VSProcess process) { return this.process.equals(process); } |
