Class SimpleElement
java.lang.Object
org.exoplatform.commons.notification.template.SimpleElement
- All Implemented Interfaces:
org.exoplatform.commons.api.notification.template.Element
- Direct Known Subclasses:
DigestTemplate,GroovyElement
public class SimpleElement
extends Object
implements org.exoplatform.commons.api.notification.template.Element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.commons.api.notification.template.ElementVisitoraccept(org.exoplatform.commons.api.notification.template.ElementVisitor visitor) org.exoplatform.commons.api.notification.template.ElementaddNewLine(boolean needNewLine) org.exoplatform.commons.api.notification.template.Elementconfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig templateConfig) org.exoplatform.commons.api.notification.plugin.config.PluginConfigbooleanorg.exoplatform.commons.api.notification.template.Elementorg.exoplatform.commons.api.notification.template.ElementtoString()
-
Constructor Details
-
SimpleElement
public SimpleElement()
-
-
Method Details
-
getLanguage
- Specified by:
getLanguagein interfaceorg.exoplatform.commons.api.notification.template.Element
-
accept
public org.exoplatform.commons.api.notification.template.ElementVisitor accept(org.exoplatform.commons.api.notification.template.ElementVisitor visitor) - Specified by:
acceptin interfaceorg.exoplatform.commons.api.notification.template.Element
-
getTemplate
- Specified by:
getTemplatein interfaceorg.exoplatform.commons.api.notification.template.Element
-
language
- Specified by:
languagein interfaceorg.exoplatform.commons.api.notification.template.Element
-
template
- Specified by:
templatein interfaceorg.exoplatform.commons.api.notification.template.Element
-
config
public org.exoplatform.commons.api.notification.template.Element config(org.exoplatform.commons.api.notification.plugin.config.PluginConfig templateConfig) - Specified by:
configin interfaceorg.exoplatform.commons.api.notification.template.Element
-
toString
-
getPluginConfig
public org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig()- Specified by:
getPluginConfigin interfaceorg.exoplatform.commons.api.notification.template.Element
-
addNewLine
public org.exoplatform.commons.api.notification.template.Element addNewLine(boolean needNewLine) - Specified by:
addNewLinein interfaceorg.exoplatform.commons.api.notification.template.Element
-
isNewLine
public boolean isNewLine()- Specified by:
isNewLinein interfaceorg.exoplatform.commons.api.notification.template.Element
-