From 79a76473731072ef1a1666a31c5f43244e4a4164 Mon Sep 17 00:00:00 2001 From: pjain Date: Mon, 10 Mar 1997 00:25:54 +0000 Subject: Added accessors to get/set the flags of the Task. --- java/src/Task.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/java/src/Task.java b/java/src/Task.java index 7dffa5a52d9..f5ee4ff4283 100644 --- a/java/src/Task.java +++ b/java/src/Task.java @@ -201,6 +201,24 @@ public abstract class Task implements Runnable, EventHandler return 0; } + /** + * Set the Task flags + *@param flags Task Flags + */ + public synchronized void flags (long flags) + { + this.flags_ = flags; + } + + /** + * Get the Task flags + *@return Task Flags + */ + public synchronized long flags () + { + return this.flags_; + } + // = Message queue manipulation methods. /** -- cgit v1.2.1