summaryrefslogtreecommitdiff
path: root/sources/core/VSTask.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/core/VSTask.java')
-rw-r--r--sources/core/VSTask.java7
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);
}