| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.api; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import org.opends.server.types.InitializationException; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This interface defines the set of methods that must be implemented |
| | | * for a Directory Server alert handler. Alert handlers are used to |
| | |
| | | */ |
| | | public boolean isConfigurationAcceptable( |
| | | AlertHandlerCfg configuration, |
| | | List<String> unacceptableReasons); |
| | | List<Message> unacceptableReasons); |
| | | |
| | | |
| | | |
| | |
| | | * |
| | | * @param generator The alert generator that created the alert. |
| | | * @param alertType The alert type name for this alert. |
| | | * @param alertID The alert ID that uniquely identifies the |
| | | * type of alert. |
| | | * @param alertMessage A message (possibly <CODE>null</CODE>) that |
| | | * can provide more information about this |
| | | * alert. |
| | | */ |
| | | public void sendAlertNotification(AlertGenerator generator, |
| | | String alertType, int alertID, |
| | | String alertMessage); |
| | | String alertType, |
| | | Message alertMessage); |
| | | } |
| | | |