Package org.jumpmind.db.util
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
MultiInstanceofPredicate
Creates a new predicate.- Parameters:
typesToCheck
- The types to check
-
-
Method Details
-
evaluate
- Specified by:
evaluate
in interfaceorg.apache.commons.collections4.Predicate<IModelChange>
-