java.lang.Object
org.exoplatform.commons.api.notification.plugin.config.TemplateConfig

public class TemplateConfig extends Object
  • Field Details

  • Constructor Details

    • TemplateConfig

      public TemplateConfig()
    • TemplateConfig

      public TemplateConfig(String providerId)
  • Method Details

    • getProviderId

      public String getProviderId()
      Returns:
      the providerId
    • setProviderId

      public TemplateConfig setProviderId(String providerId)
      Parameters:
      providerId - the providerId to set
    • getBundlePath

      public String getBundlePath()
      Returns:
      the bundlePath
    • setBundlePath

      public void setBundlePath(String bundlePath)
      Parameters:
      bundlePath - the bundlePath to set
    • getTemplatePath

      public String getTemplatePath()
      Returns:
      the templatePath
    • setTemplatePath

      public void setTemplatePath(String templatePath)
      Parameters:
      templatePath - the templatePath to set
    • getKeyMapping

      public Map<String,String> getKeyMapping()
      Returns:
      the keyMapping
    • setKeyMapping

      public void setKeyMapping(Map<String,String> keyMapping)
      Parameters:
      keyMapping - the keyMapping to set
    • addKeyMapping

      public TemplateConfig addKeyMapping(String key, String value)
    • getKeyValue

      public String getKeyValue(String key, String defaultValue)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object