Interface PredicateDecorator

All Superinterfaces:
Predicate
All Known Implementing Classes:
AllPredicate, AndPredicate, AnyPredicate, NonePredicate, NotPredicate, NullIsExceptionPredicate, NullIsFalsePredicate, NullIsTruePredicate, OnePredicate, OrPredicate, TransformedPredicate

@Deprecated(since="2021-04-30") public interface PredicateDecorator extends Predicate
Deprecated.
Apache Commons Collections version 3.x is being deprecated from AEMaaCS. The upgraded version 4.4 of Commons Collections is already included as replacement. Customers are advised to upgrade to this version of the library. Please note: the package name was changed to org.apache.commons.collections4. Further note that there are AEM APIs currently exposing the old collections classes; these will be updated in upcoming releases.
Defines a predicate that decorates one or more other predicates.

This interface enables tools to access the decorated predicates.

Since:
Commons Collections 3.1
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Gets the predicates being decorated as an array.

    Methods inherited from interface org.apache.commons.collections.Predicate

    evaluate
  • Method Details

    • getPredicates

      Predicate[] getPredicates()
      Deprecated.
      Gets the predicates being decorated as an array.

      The array may be the internal data structure of the predicate and thus should not be altered.

      Returns:
      the predicates being decorated