Class ChatTemplateBuilder
- java.lang.Object
-
- org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
- org.exoplatform.addons.chat.notification.builder.ChatTemplateBuilder
-
public class ChatTemplateBuilder extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
-
Constructor Summary
Constructors Constructor Description ChatTemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.container.ExoContainer container, org.exoplatform.commons.api.notification.model.PluginKey key, boolean pushNotification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description groovy.text.TemplategetTemplateEngine()protected booleanmakeDigest(org.exoplatform.commons.api.notification.NotificationContext notificationContext, Writer writer)protected org.exoplatform.commons.api.notification.model.MessageInfomakeMessage(org.exoplatform.commons.api.notification.NotificationContext ctx)
-
-
-
Method Detail
-
makeMessage
protected org.exoplatform.commons.api.notification.model.MessageInfo makeMessage(org.exoplatform.commons.api.notification.NotificationContext ctx)
- Specified by:
makeMessagein classorg.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
makeDigest
protected boolean makeDigest(org.exoplatform.commons.api.notification.NotificationContext notificationContext, Writer writer)- Specified by:
makeDigestin classorg.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
getTemplateEngine
public groovy.text.Template getTemplateEngine()
- Overrides:
getTemplateEnginein classorg.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
-