Package com.composum.sling.nodes.console
Class Condition.ResourcePermission
- java.lang.Object
-
- com.composum.sling.nodes.console.Condition.ResourcePermission
-
-
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 String
path
-
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 ResourcePermission(@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
-
-
-
Field Detail
-
path
protected final String path
-
-
Constructor Detail
-
ResourcePermission
public ResourcePermission(@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
-
-