public static final class TemplateCache.MaybeMissingTemplate
extends java.lang.Object
TemplateCache.getTemplate(String, Locale, Object, String, boolean).| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMissingTemplateNormalizedName()
When the template was missing, this possibly contains its normalized name.
|
java.lang.String |
getMissingTemplateReason()
When the template was missing, this possibly contains the explanation, or
null. |
Template |
getTemplate()
The
Template if it wasn't missing, otherwise null. |
public java.lang.String getMissingTemplateReason()
null. If the
template wasn't missing (i.e., when getTemplate() return non-null) this is always
null.public java.lang.String getMissingTemplateNormalizedName()
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.