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/api/AlertHandler.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/AlertHandler.java b/opends/src/server/org/opends/server/api/AlertHandler.java
index a123ec6..a8186c9 100644
--- a/opends/src/server/org/opends/server/api/AlertHandler.java
+++ b/opends/src/server/org/opends/server/api/AlertHandler.java
@@ -69,6 +69,15 @@
/**
+ * Retrieves the current configuration for this alert handler.
+ *
+ * @return The current configuration for this alert handler.
+ */
+ public AlertHandlerCfg getAlertHandlerConfiguration();
+
+
+
+ /**
* Indicates whether the provided configuration is acceptable for
* this alert handler.
*
--
Gitblit v1.10.0