Class MultiInstanceofPredicate

java.lang.Object
org.jumpmind.db.util.MultiInstanceofPredicate
All Implemented Interfaces:
org.apache.commons.collections4.Predicate<IModelChange>

public class MultiInstanceofPredicate extends Object implements org.apache.commons.collections4.Predicate<IModelChange>
A predicate that tests whether the object is of one of the configured types.
  • Constructor Details

    • MultiInstanceofPredicate

      public MultiInstanceofPredicate(Class<?>[] typesToCheck)
      Creates a new predicate.
      Parameters:
      typesToCheck - The types to check
  • Method Details

    • evaluate

      public boolean evaluate(IModelChange obj)
      Specified by:
      evaluate in interface org.apache.commons.collections4.Predicate<IModelChange>