public static class AbstractFilter.SiteTemplateSetCondition extends Object implements AbstractFilter.ExecutionCondition
true if the current site's template set matches the specified one| Constructor and Description |
|---|
SiteTemplateSetCondition(String templateSet)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(RenderContext renderContext,
Resource resource)
Returns
true if the condition matches the specified
resource. |
String |
toString() |
public SiteTemplateSetCondition(String templateSet)
templateSet - the template set name to matchpublic boolean matches(RenderContext renderContext, Resource resource)
AbstractFilter.ExecutionConditiontrue if the condition matches the specified
resource.matches in interface AbstractFilter.ExecutionConditionrenderContext - Current RenderContextresource - Resource being displayedtrue if the condition matches the specified
resourceCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.