Class Condition.Or

    • Constructor Detail

      • Or

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

        public Or()
    • Method Detail

      • fromResource

        @Nullable
        public static @Nullable Condition fromResource​(@Nullable
                                                       @Nullable org.apache.sling.api.resource.Resource resource)
      • 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