public static class AbstractFilter.AnyOfCondition extends Object implements AbstractFilter.ExecutionCondition
true if any of the underlying conditions
evaluates to true.| Constructor and Description |
|---|
AnyOfCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AbstractFilter.ExecutionCondition condition) |
boolean |
matches(RenderContext renderContext,
Resource resource)
Returns
true if the condition matches the specified
resource. |
String |
toString() |
public void add(AbstractFilter.ExecutionCondition condition)
public 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.