jetbrains.buildServer.notification
Interface TemplateProcessor
- All Superinterfaces:
- ServerExtension, TeamCityExtension
public interface TemplateProcessor
- extends ServerExtension
A processor of template model.
Resonsible for providing additional objects to the model map to be used in notifications templates.
Rewritten by Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
|
Method Summary |
java.util.Map<java.lang.String,java.lang.Object> |
fillModel(NotificationContext context)
Returns the template model extension. |
fillModel
@NotNull
java.util.Map<java.lang.String,java.lang.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 contins 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