public static final class TemplateCache.MaybeMissingTemplate extends Object
TemplateCache.getTemplate(String, Locale, Object, String, boolean)
.Modifier and Type | Method and Description |
---|---|
String |
getMissingTemplateNormalizedName()
When the template was missing, this possibly contains its normalized name.
|
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 String getMissingTemplateReason()
null
. If the
template wasn't missing (i.e., when getTemplate()
return non-null
) this is always
null
.public 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.Copyright © 2016. All Rights Reserved.