Package org.opends.server.extensions
Class TextNotificationMessageTemplateElement
- java.lang.Object
-
- org.opends.server.extensions.NotificationMessageTemplateElement
-
- org.opends.server.extensions.TextNotificationMessageTemplateElement
-
public class TextNotificationMessageTemplateElement extends NotificationMessageTemplateElement
This class implements a notification message template element that will generate a value using static text.
-
-
Constructor Summary
Constructors Constructor Description TextNotificationMessageTemplateElement(String text)
Creates a new text notification message template element from the provided string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateValue(LocalizableMessageBuilder 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.
-
-
-
Constructor Detail
-
TextNotificationMessageTemplateElement
public TextNotificationMessageTemplateElement(String text)
Creates a new text notification message template element from the provided string.- Parameters:
text
- The string to use as the text for this element.
-
-
Method Detail
-
generateValue
public void generateValue(LocalizableMessageBuilder buffer, AccountStatusNotification notification)
Description copied from class:NotificationMessageTemplateElement
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 classNotificationMessageTemplateElement
- Parameters:
buffer
- The buffer to which the generated value should be appended.notification
- The account status notification to process.
-
-