Package com.composum.sling.nodes.console
Class Condition.NodesRestrictions
- java.lang.Object
-
- com.composum.sling.nodes.console.Condition.NodesRestrictions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.composum.sling.nodes.console.Condition
Condition.And, Condition.CanHaveAcl, Condition.ClassAvailability, Condition.Factory, Condition.HttpStatus, Condition.JcrResource, Condition.MergedResource, Condition.NodesRestrictions, Condition.Options, Condition.Or, Condition.PrimaryType, Condition.ResourcePermission, Condition.ResourceType, Condition.RunmodePermission, Condition.ServletPermission, Condition.Set, Condition.Versionable
-
-
Field Summary
Fields Modifier and Type Field Description protected com.composum.sling.core.service.ServiceRestrictions.Key
key
protected com.composum.sling.core.service.ServiceRestrictions.Permission
permission
-
Fields inherited from interface com.composum.sling.nodes.console.Condition
CAN_HAVE_ACL, DEFAULT, JCR_RESOURCE, KEY_ACL, KEY_CLASS, KEY_HTTP, KEY_JCR, KEY_MERGED, KEY_PRIMARY_TYPE, KEY_RESOURCE, KEY_RESOURCE_TYPE, KEY_RESTRICTIONS, KEY_RUNMODE, KEY_SERVLET, KEY_VERSIONABLE, MERGED_RESOURCE, VERSIONABLE
-
-
Constructor Summary
Constructors Constructor Description NodesRestrictions(@NotNull String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(@NotNull com.composum.sling.core.BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
check the configured condition for the given resource
-
-
-
Constructor Detail
-
NodesRestrictions
public NodesRestrictions(@NotNull @NotNull String pattern)
-
-
Method Detail
-
accept
public boolean accept(@NotNull @NotNull com.composum.sling.core.BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
Description copied from interface:Condition
check the configured condition for the given resource
-
-