From a0c742dc589e56e8b1a7498de1d165e039f58aac Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 30 Jul 2007 23:30:38 +0000
Subject: [PATCH] Update the task backend to provide a mechanism for sending e-mail messages to notify administrators whenever a given task has been completed.  It is possible to specify a set of administrators that should be notified only if the task does not complete successfully, and/or a set of administrators that should be notified regardless of the task's success or failure.  The basic framework for this capability has always been in place, and this change only provides the final implementation that actually generates and sends the e-mail message.

---
 opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java b/opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java
index 2fd6d42..6bdebcf 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java
@@ -1357,6 +1357,18 @@
 
 
   /**
+   * Retrieves the task backend with which this scheduler is associated.
+   *
+   * @return  The task backend with which this scheduler is associated.
+   */
+  public TaskBackend getTaskBackend()
+  {
+    return taskBackend;
+  }
+
+
+
+  /**
    * Retrieves the root entry that is the common ancestor for all entries in the
    * task backend.
    *

--
Gitblit v1.10.0