Package org.opends.server.extensions
Class UserAttributeNotificationMessageTemplateElement
- java.lang.Object
-
- org.opends.server.extensions.NotificationMessageTemplateElement
-
- org.opends.server.extensions.UserAttributeNotificationMessageTemplateElement
-
public class UserAttributeNotificationMessageTemplateElement extends NotificationMessageTemplateElement
This class implements a notification message template element that will generate a value that is the value of a specified attribute from the target user's entry.
-
-
Constructor Summary
Constructors Constructor Description UserAttributeNotificationMessageTemplateElement(AttributeType attributeType)Creates a new user DN notification message template element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerateValue(org.forgerock.i18n.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
-
UserAttributeNotificationMessageTemplateElement
public UserAttributeNotificationMessageTemplateElement(AttributeType attributeType)
Creates a new user DN notification message template element.- Parameters:
attributeType- The attribute type for which to obtain the value.
-
-
Method Detail
-
generateValue
public void generateValue(org.forgerock.i18n.LocalizableMessageBuilder buffer, AccountStatusNotification notification)Description copied from class:NotificationMessageTemplateElementGenerates 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:
generateValuein classNotificationMessageTemplateElement- Parameters:
buffer- The buffer to which the generated value should be appended.notification- The account status notification to process.
-
-