Class PropertyPredicate
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.observation.filter.PropertyPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<NodeState>
public class PropertyPredicate extends java.lang.Object implements java.util.function.Predicate<NodeState>
Predicate on property values. This property holds if and only if the node has a property of the givenname
and the givenpropertyPredicate
holds on that property.
-
-
Constructor Summary
Constructors Constructor Description PropertyPredicate(@NotNull java.lang.String name, @NotNull java.util.function.Predicate<PropertyState> propertyPredicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(NodeState node)
-
-
-
Constructor Detail
-
PropertyPredicate
public PropertyPredicate(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.util.function.Predicate<PropertyState> propertyPredicate)
- Parameters:
name
- name of the propertypropertyPredicate
- predicate on the named property
-
-