Class HierarchyNotFilePredicate

java.lang.Object
com.day.cq.commons.predicates.HierarchyNotFilePredicate
All Implemented Interfaces:
NodePredicate, Predicate<Node>

public class HierarchyNotFilePredicate extends Object implements NodePredicate
Predicate used to filter Hierarchy nodes BUT not nt:file nodes.
  • Constructor Details

    • HierarchyNotFilePredicate

      public HierarchyNotFilePredicate()
  • Method Details

    • test

      public boolean test(Node node)
      Specified by:
      test in interface Predicate<Node>
      Returns:
      true if node is nt:hierarchyNode but not nt:file