public static class AbstractFilter.ModuleCondition extends AbstractFilter.PatternCondition
true if the current resource's template type
matches the provided one.| Constructor and Description |
|---|
ModuleCondition(String module) |
ModuleCondition(String module,
boolean isRegExp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue(RenderContext renderContext,
Resource resource) |
String |
toString() |
matchespublic ModuleCondition(String module)
public ModuleCondition(String module, 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.