Package com.composum.sling.nodes.console
Class Condition.And
- java.lang.Object
-
- com.composum.sling.nodes.console.Condition.Set
-
- com.composum.sling.nodes.console.Condition.And
-
- All Implemented Interfaces:
Condition
- Enclosing interface:
- Condition
public static class Condition.And extends Condition.Set
-
-
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 inherited from class com.composum.sling.nodes.console.Condition.Set
conditions
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
check the configured condition for the given resourcestatic @NotNull Condition
fromProperties(@NotNull Map<String,Object> properties)
static @Nullable Condition
fromResource(@Nullable org.apache.sling.api.resource.Resource resource)
-
Methods inherited from class com.composum.sling.nodes.console.Condition.Set
fromProperties
-
-
-
-
Method Detail
-
fromResource
@Nullable public static @Nullable Condition fromResource(@Nullable @Nullable org.apache.sling.api.resource.Resource resource)
-
fromProperties
@NotNull public static @NotNull Condition fromProperties(@NotNull @NotNull Map<String,Object> properties)
-
accept
public boolean accept(@NotNull @NotNull BeanContext context, @NotNull @NotNull org.apache.sling.api.resource.Resource resource)
Description copied from interface:Condition
check the configured condition for the given resource
-
-