Package jetbrains.buildServer.templates
Class EmailTemplates
- java.lang.Object
-
- jetbrains.buildServer.templates.EmailTemplates
-
public class EmailTemplates extends Object
Freemarker templates that can be used for different action like email verification or password reset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmailTemplates.EmailParts
-
Constructor Summary
Constructors Constructor Description EmailTemplates(ServerPaths serverPaths, ServerResponsibility serverResponsibility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailTemplates.EmailParts
processEmailTemplate(String templateName, Map<String,Object> model)
void
registerTemplate(Class<?> aClass, String resourceName)
-
-
-
Constructor Detail
-
EmailTemplates
public EmailTemplates(ServerPaths serverPaths, ServerResponsibility serverResponsibility)
-
-
Method Detail
-
registerTemplate
public void registerTemplate(@NotNull Class<?> aClass, @NotNull String resourceName)
-
processEmailTemplate
@NotNull public EmailTemplates.EmailParts processEmailTemplate(@NotNull String templateName, @NotNull Map<String,Object> model) throws IOException, freemarker.template.TemplateException
- Throws:
IOException
freemarker.template.TemplateException
-
-