Class Condition.And

    • Constructor Detail

      • And

        public And​(Condition... conditions)
      • And

        public And​(String... conditions)
      • And

        public And()
    • 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 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