Interface TemplateProcessor

  • All Superinterfaces:
    ServerExtension, TeamCityExtension

    public interface TemplateProcessor
    extends ServerExtension
    A processor of template model. Responsible for providing additional objects to the model map to be used in notifications templates. Rewritten by Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    • Method Detail

      • fillModel

        @NotNull
        Map<String,​Object> fillModel​(@NotNull
                                           NotificationContext context)
        Returns the template model extension. Current set of objects is passed in context. Note: The keys in the map should not contains dot (".") symbol. To add "nested" properties, add an element into the map, that itself is a map of the same type.
        Parameters:
        context - notification context
        Returns:
        the model extension