Class TruePredicate

java.lang.Object
ddf.catalog.pubsub.predicate.TruePredicate
All Implemented Interfaces:
Predicate

public class TruePredicate extends Object implements Predicate
A Predicate that always returns true. Meant to be used where criteria is missing and a predicate is still needed to continue with execution
  • Constructor Details

    • TruePredicate

      public TruePredicate()
  • Method Details

    • matches

      public boolean matches(org.osgi.service.event.Event properties)
      This method always returns true.
      Specified by:
      matches in interface Predicate