diff options
-rw-r--r-- | java/src/Task.java | 18 |
1 files changed, 18 insertions, 0 deletions
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. /** |