public class TextNotificationMessageTemplateElement extends NotificationMessageTemplateElement
Constructor and Description |
---|
TextNotificationMessageTemplateElement(String text)
Creates a new text notification message template element from the provided
string.
|
Modifier and Type | Method and 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.
|
public TextNotificationMessageTemplateElement(String text)
text
- The string to use as the text for this element.public void generateValue(LocalizableMessageBuilder buffer, AccountStatusNotification notification)
NotificationMessageTemplateElement
generateValue
in class NotificationMessageTemplateElement
buffer
- The buffer to which the generated value should be
appended.notification
- The account status notification to process.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.