public static class AbstractFilter.TemplateTypeCondition extends AbstractFilter.PatternCondition
true if the current resource's template type
matches the provided one.| Constructor and Description |
|---|
TemplateTypeCondition(String templateType) |
TemplateTypeCondition(String templateType,
boolean isRegExp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue(RenderContext renderContext,
Resource resource) |
String |
toString() |
matchespublic TemplateTypeCondition(String templateType)
public TemplateTypeCondition(String templateType, boolean isRegExp)
public String getValue(RenderContext renderContext, Resource resource)
getValue in class AbstractFilter.PatternConditionpublic String toString()
toString in class AbstractFilter.PatternConditionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.