Class MessageTemplate

  • All Implemented Interfaces:
    DescribedObject, NamedObject

    public class MessageTemplate
    extends DescribedObjectImpl
    Wraps notification message template. It consist of text, subject, supports localization. What is most important it handles parameter substitution.

    Implementation note: this will be extended in future: based on freemarker, message metadata (as use HTML) added etc. For now is simplistic.

    The syntax: all '${foo}' expressions are replaced by the value of the foo key.

    Author:
    K. Benedyczak