Package freemarker.cache
Class TemplateCache.MaybeMissingTemplate
java.lang.Object
freemarker.cache.TemplateCache.MaybeMissingTemplate
- Enclosing class:
- TemplateCache
Used for the return value of
TemplateCache.getTemplate(String, Locale, Object, String, boolean).- Since:
- 2.3.22
-
Method Summary
Modifier and TypeMethodDescriptionWhen the template was missing, this possibly contains its normalized name.When the template was missing, this possibly contains the explanation, ornull.TheTemplateif it wasn't missing, otherwisenull.
-
Method Details
-
getTemplate
TheTemplateif it wasn't missing, otherwisenull. -
getMissingTemplateReason
When the template was missing, this possibly contains the explanation, ornull. If the template wasn't missing (i.e., whengetTemplate()return non-null) this is alwaysnull. -
getMissingTemplateNormalizedName
When the template was missing, this possibly contains its normalized name. If the template wasn't missing (i.e., whengetTemplate()return non-null) this is alwaysnull. When the template is missing, it will benullfor example if the normalization itself was unsuccessful.
-