Class MjmlProperties

java.lang.Object
dev.jcputney.mjml.spring.MjmlProperties

@ConfigurationProperties(prefix="spring.mjml") public class MjmlProperties extends Object
Spring Boot configuration properties for mjml-java.

Bound from the spring.mjml.* namespace.

  • Constructor Details

    • MjmlProperties

      public MjmlProperties()
  • Method Details

    • getLanguage

      public String getLanguage()
    • setLanguage

      public void setLanguage(String language)
    • getDirection

      public String getDirection()
    • setDirection

      public void setDirection(String direction)
    • isSanitizeOutput

      public boolean isSanitizeOutput()
    • setSanitizeOutput

      public void setSanitizeOutput(boolean sanitizeOutput)
    • getMaxInputSize

      public int getMaxInputSize()
    • setMaxInputSize

      public void setMaxInputSize(int maxInputSize)
    • getMaxNestingDepth

      public int getMaxNestingDepth()
    • setMaxNestingDepth

      public void setMaxNestingDepth(int maxNestingDepth)
    • getMaxIncludeDepth

      public int getMaxIncludeDepth()
    • setMaxIncludeDepth

      public void setMaxIncludeDepth(int maxIncludeDepth)
    • getTemplateLocation

      public String getTemplateLocation()
    • setTemplateLocation

      public void setTemplateLocation(String templateLocation)
    • getIncludeAllowedSchemes

      public Set<String> getIncludeAllowedSchemes()
    • setIncludeAllowedSchemes

      public void setIncludeAllowedSchemes(Set<String> includeAllowedSchemes)
    • getThymeleafEnabled

      public Boolean getThymeleafEnabled()
    • setThymeleafEnabled

      public void setThymeleafEnabled(Boolean thymeleafEnabled)