Class 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
    Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Aug 1, 2013
    • Constructor Detail

      • SimpleElement

        public SimpleElement()
    • Method Detail

      • getLanguage

        public String getLanguage()
        Specified by:
        getLanguage in interface org.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:
        accept in interface org.exoplatform.commons.api.notification.template.Element
      • getTemplate

        public String getTemplate()
        Specified by:
        getTemplate in interface org.exoplatform.commons.api.notification.template.Element
      • language

        public org.exoplatform.commons.api.notification.template.Element language​(String language)
        Specified by:
        language in interface org.exoplatform.commons.api.notification.template.Element
      • template

        public org.exoplatform.commons.api.notification.template.Element template​(String template)
        Specified by:
        template in interface org.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:
        config in interface org.exoplatform.commons.api.notification.template.Element
      • getPluginConfig

        public org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig()
        Specified by:
        getPluginConfig in interface org.exoplatform.commons.api.notification.template.Element
      • addNewLine

        public org.exoplatform.commons.api.notification.template.Element addNewLine​(boolean needNewLine)
        Specified by:
        addNewLine in interface org.exoplatform.commons.api.notification.template.Element
      • isNewLine

        public boolean isNewLine()
        Specified by:
        isNewLine in interface org.exoplatform.commons.api.notification.template.Element