Class Condition.NodesRestrictions

  • All Implemented Interfaces:
    Condition
    Enclosing interface:
    Condition

    public static class Condition.NodesRestrictions
    extends Object
    implements Condition
    check the permissions of a given service key (feature)
    • Constructor Detail

      • NodesRestrictions

        public NodesRestrictions​(@NotNull
                                 @NotNull String pattern)
    • Method Detail

      • 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
        Specified by:
        accept in interface Condition