From 295f7dc1ac02bee5cb01095a624e53bb22414746 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 30 Jul 2007 05:22:32 +0000
Subject: [PATCH] Add two new configuration attributes, ds-cfg-enabled-alert-type and ds-cfg-disabled-alert-type to alert handler configuration entries.  If a set of enabled alert types is given, then only alerts with one of those types will be passed to the associated alert handler.  If a set of disabled alert types is given, then only alerts without one of those types will be passed to the associated alert handler.  If both enabled and disabled lists are provided, then only alerts with a type on the enabled list and not on the disabled list will be processed.

---
 opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java b/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java
index 45fa188..281ffd2 100644
--- a/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java
+++ b/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java
@@ -112,6 +112,16 @@
   /**
    * {@inheritDoc}
    */
+  public AlertHandlerCfg getAlertHandlerConfiguration()
+  {
+    return currentConfig;
+  }
+
+
+
+  /**
+   * {@inheritDoc}
+   */
   public boolean isConfigurationAcceptable(AlertHandlerCfg configuration,
                                            List<String> unacceptableReasons)
   {

--
Gitblit v1.10.0