public class CapabilityRenderCondition extends Object implements RenderCondition
Session.hasCapability(String, Object, Object[]).| Constructor and Description |
|---|
CapabilityRenderCondition(Session session,
String[] paths,
String[] methods) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check()
Returns
true if the component should be rendered; false
otherwise. |
public CapabilityRenderCondition(Session session, String[] paths, String[] methods) throws RepositoryException
RepositoryExceptionpublic boolean check()
throws ServletException
RenderConditiontrue if the component should be rendered; false
otherwise.check in interface RenderConditiontrue if the component should be rendered, false
otherwiseServletException - in case a servlet error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved