From cf6cc8c7c17e7e942d0018ddcfccecdbaee86a03 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.
---
opendj-sdk/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java b/opendj-sdk/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java
index 45fa188..281ffd2 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/extensions/SMTPAlertHandler.java
+++ b/opendj-sdk/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