org.opends.server.extensions
Class NotificationMessageNotificationMessageTemplateElement

java.lang.Object
  extended by org.opends.server.extensions.NotificationMessageTemplateElement
      extended by org.opends.server.extensions.NotificationMessageNotificationMessageTemplateElement

public class NotificationMessageNotificationMessageTemplateElement
extends NotificationMessageTemplateElement

This class implements a notification message template element that will generate a value that is the message for the account status notification.


Constructor Summary
NotificationMessageNotificationMessageTemplateElement()
          Creates a new notification message notification message template element.
 
Method Summary
 void generateValue(MessageBuilder buffer, AccountStatusNotification notification)
          Generates a value for this template element using the information contained in the provided account status notification and appends it to the given buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationMessageNotificationMessageTemplateElement

public NotificationMessageNotificationMessageTemplateElement()
Creates a new notification message notification message template element.

Method Detail

generateValue

public void generateValue(MessageBuilder buffer,
                          AccountStatusNotification notification)
Generates a value for this template element using the information contained in the provided account status notification and appends it to the given buffer.

Specified by:
generateValue in class NotificationMessageTemplateElement
Parameters:
buffer - The buffer to which the generated value should be appended.
notification - The account status notification to process.