Class DynamicDescendantFilter

  • All Implemented Interfaces:
    java.util.function.Predicate<UniqueId>

    @API(status=INTERNAL,
         since="5.1")
    public class DynamicDescendantFilter
    extends java.lang.Object
    implements java.util.function.Predicate<UniqueId>
    Filter for dynamic descendants of TestDescriptors that implement Filterable.
    Since:
    5.1
    See Also:
    Filterable
    • Constructor Detail

      • DynamicDescendantFilter

        public DynamicDescendantFilter()
    • Method Detail

      • allow

        public void allow​(UniqueId uniqueId)
      • allowAll

        public void allowAll()
      • test

        public boolean test​(UniqueId uniqueId)
        Specified by:
        test in interface java.util.function.Predicate<UniqueId>
      • isAllowed

        private boolean isAllowed​(UniqueId currentUniqueId,
                                  UniqueId allowedUniqueId)