public class OrRenderCondition extends AbstractCompositeRenderCondition
true
when any of the sub conditions is
returning true
; false
otherwise.Constructor and Description |
---|
OrRenderCondition(SlingHttpServletRequest request,
SlingHttpServletResponse response,
Resource resource) |
Modifier and Type | Method and Description |
---|---|
boolean |
check()
Returns
true if the component should be rendered; false
otherwise. |
public OrRenderCondition(@Nonnull SlingHttpServletRequest request, @Nonnull SlingHttpServletResponse response, @Nonnull Resource resource)
public boolean check() throws ServletException, java.io.IOException
RenderCondition
true
if the component should be rendered; false
otherwise.true
if the component should be rendered, false
otherwiseServletException
- in case a servlet error occursjava.io.IOException
- in case an IO error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved