Class TemplateCache.MaybeMissingTemplate

java.lang.Object
freemarker.cache.TemplateCache.MaybeMissingTemplate
Enclosing class:
TemplateCache

public static final class TemplateCache.MaybeMissingTemplate extends Object
Since:
2.3.22
  • Method Details

    • getTemplate

      public Template getTemplate()
      The Template if it wasn't missing, otherwise null.
    • getMissingTemplateReason

      public String getMissingTemplateReason()
      When the template was missing, this possibly contains the explanation, or null. If the template wasn't missing (i.e., when getTemplate() return non-null) this is always null.
    • getMissingTemplateNormalizedName

      public String getMissingTemplateNormalizedName()
      When the template was missing, this possibly contains its normalized name. If the template wasn't missing (i.e., when getTemplate() return non-null) this is always null. When the template is missing, it will be null for example if the normalization itself was unsuccessful.