Class Template
- java.lang.Object
-
- jetbrains.buildServer.notification.Template
-
public class Template extends Object
Deprecated.since 5.1. Isn't used in TeamCity notification component or by any known plugin. Most probably will be removed in future versions of TeamCity.Contains template with parameters. Template parameter is a word containing letters and numbers enclosed in curly braces.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Set<String>
findPatterns()
Deprecated.Returns all patterns used in the template.String
parse(Map<String,String> substitution)
Deprecated.Replaces parameters in template with help of parameter values.
-
-
-
Constructor Detail
-
Template
public Template(@NotNull String template)
Deprecated.
-
-
Method Detail
-
parse
public String parse(@NotNull Map<String,String> substitution)
Deprecated.Replaces parameters in template with help of parameter values.- Parameters:
substitution
- map of parameter values, key is a template parameter (with curly braces), value is this parameter value- Returns:
- template with parameters replaced by their values
-
-