From e958eb5bcfc9feccbda7c0841b05939506143ad8 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 16 Nov 2007 10:47:40 +0000
Subject: [PATCH] Advanced properties phase 1: tag advanced properties and perform various clean-up to the XML definitions:

---
 opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml |  111 +++++++++++++++++++++++++++----------------------------
 1 files changed, 54 insertions(+), 57 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml
index a21c4b6..61b7f6f 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml
@@ -1,51 +1,46 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-! CDDL HEADER START
-!
-! The contents of this file are subject to the terms of the
-! Common Development and Distribution License, Version 1.0 only
-! (the "License").  You may not use this file except in compliance
-! with the License.
-!
-! You can obtain a copy of the license at
-! trunk/opends/resource/legal-notices/OpenDS.LICENSE
-! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
-! See the License for the specific language governing permissions
-! and limitations under the License.
-!
-! When distributing Covered Code, include this CDDL HEADER in each
-! file and include the License file at
-! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
-! add the following below this CDDL HEADER, with the fields enclosed
-! by brackets "[]" replaced with your own identifying information:
-!      Portions Copyright [yyyy] [name of copyright owner]
-!
-! CDDL HEADER END
-!
-!
-!      Portions Copyright 2007 Sun Microsystems, Inc.
-! -->
-
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at
+  ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
+  ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at
+  ! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
+  ! add the following below this CDDL HEADER, with the fields enclosed
+  ! by brackets "[]" replaced with your own identifying information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !
+  !      Portions Copyright 2007 Sun Microsystems, Inc.
+  ! -->
 <adm:managed-object name="alert-handler" plural-name="alert-handlers"
   package="org.opends.server.admin.std"
   xmlns:adm="http://www.opends.org/admin"
   xmlns:ldap="http://www.opends.org/admin-ldap">
-
   <adm:synopsis>
     <adm:user-friendly-name />
-    are used to notify administrators of significant problems or notable events
-    that occur in the Directory Server.
+    are used to notify administrators of significant problems or notable
+    events that occur in the Directory Server.
   </adm:synopsis>
-
-  <adm:tag name="core"/>
-
+  <adm:tag name="core" />
   <adm:profile name="ldap">
     <ldap:object-class>
       <ldap:name>ds-cfg-alert-handler</ldap:name>
       <ldap:superior>top</ldap:superior>
     </ldap:object-class>
   </adm:profile>
-
   <adm:property name="enabled" mandatory="true">
     <adm:synopsis>
       Indicate whether the
@@ -61,7 +56,6 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
-
   <adm:property name="java-class" mandatory="true">
     <adm:synopsis>
       The fully-qualified name of the Java class that provides the
@@ -81,21 +75,23 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
-
-  <adm:property name="enabled-alert-type" mandatory="false" multi-valued="true">
+  <adm:property name="enabled-alert-type" multi-valued="true">
     <adm:synopsis>
-      Specifies the names of the alert types that are enabled for this alert
-      handler.  If there are any values for this attribute, then only alerts
-      with one of the specified types will be allowed (unless they are also
-      included in the disabled alert types).  If there are no values for this
-      attribute, then any alerts with a type not included in the list of
-      disabled alert types will be allowed.
+      Specifies the names of the alert types that are enabled for this
+      alert handler.
     </adm:synopsis>
+    <adm:description>
+      If there are any values for this attribute, then only alerts with
+      one of the specified types will be allowed (unless they are also
+      included in the disabled alert types). If there are no values for
+      this attribute, then any alerts with a type not included in the
+      list of disabled alert types will be allowed.
+    </adm:description>
     <adm:default-behavior>
       <adm:alias>
         <adm:synopsis>
-          All alerts with types not included in the set of disabled alert types
-          will be allowed.
+          All alerts with types not included in the set of disabled
+          alert types will be allowed.
         </adm:synopsis>
       </adm:alias>
     </adm:default-behavior>
@@ -108,22 +104,25 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
-
-  <adm:property name="disabled-alert-type" mandatory="false"
-    multi-valued="true">
+  <adm:property name="disabled-alert-type" multi-valued="true">
     <adm:synopsis>
-      Specifies the names of the alert types that are disabled for this alert
-      handler.  If there are any values for this attribute, then no alerts with
-      any of the specified types will be allowed.  If there are no values for
-      this attribute, then only alerts with a type included in the set of
-      enabled alert types will be allowed, or if there are no values for the
-      enabled alert types option then all alert types will be allowed.
+      Specifies the names of the alert types that are disabled for this
+      alert handler.
     </adm:synopsis>
+    <adm:description>
+      If there are any values for this attribute, then no alerts with
+      any of the specified types will be allowed. If there are no values
+      for this attribute, then only alerts with a type included in the
+      set of enabled alert types will be allowed, or if there are no
+      values for the enabled alert types option then all alert types
+      will be allowed.
+    </adm:description>
     <adm:default-behavior>
       <adm:alias>
         <adm:synopsis>
-          If there is a set of enabled alert types, then only alerts with one of
-          those types will be allowed.  Otherwise, all alerts will be allowed.
+          If there is a set of enabled alert types, then only alerts
+          with one of those types will be allowed. Otherwise, all alerts
+          will be allowed.
         </adm:synopsis>
       </adm:alias>
     </adm:default-behavior>
@@ -136,6 +135,4 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
-
 </adm:managed-object>
-

--
Gitblit v1.10.0