public class SimpleElement extends Object implements org.exoplatform.commons.api.notification.template.Element
| Constructor and Description |
|---|
SimpleElement() |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.commons.api.notification.template.ElementVisitor |
accept(org.exoplatform.commons.api.notification.template.ElementVisitor visitor) |
org.exoplatform.commons.api.notification.template.Element |
addNewLine(boolean needNewLine) |
org.exoplatform.commons.api.notification.template.Element |
config(org.exoplatform.commons.api.notification.plugin.config.PluginConfig templateConfig) |
String |
getLanguage() |
org.exoplatform.commons.api.notification.plugin.config.PluginConfig |
getPluginConfig() |
String |
getTemplate() |
boolean |
isNewLine() |
org.exoplatform.commons.api.notification.template.Element |
language(String language) |
org.exoplatform.commons.api.notification.template.Element |
template(String template) |
String |
toString() |
public String getLanguage()
getLanguage in interface org.exoplatform.commons.api.notification.template.Elementpublic org.exoplatform.commons.api.notification.template.ElementVisitor accept(org.exoplatform.commons.api.notification.template.ElementVisitor visitor)
accept in interface org.exoplatform.commons.api.notification.template.Elementpublic String getTemplate()
getTemplate in interface org.exoplatform.commons.api.notification.template.Elementpublic org.exoplatform.commons.api.notification.template.Element language(String language)
language in interface org.exoplatform.commons.api.notification.template.Elementpublic org.exoplatform.commons.api.notification.template.Element template(String template)
template in interface org.exoplatform.commons.api.notification.template.Elementpublic org.exoplatform.commons.api.notification.template.Element config(org.exoplatform.commons.api.notification.plugin.config.PluginConfig templateConfig)
config in interface org.exoplatform.commons.api.notification.template.Elementpublic org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig()
getPluginConfig in interface org.exoplatform.commons.api.notification.template.Elementpublic org.exoplatform.commons.api.notification.template.Element addNewLine(boolean needNewLine)
addNewLine in interface org.exoplatform.commons.api.notification.template.Elementpublic boolean isNewLine()
isNewLine in interface org.exoplatform.commons.api.notification.template.ElementCopyright © 2003–2017 eXo Platform SAS. All rights reserved.