Class UuidPredicate
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.observation.filter.UuidPredicate
-
- All Implemented Interfaces:
java.util.function.Predicate<NodeState>
public class UuidPredicate extends java.lang.Object implements java.util.function.Predicate<NodeState>
A predicate for matching against a list of UUIDs. This predicate holds whenever theNodeState
passed to its apply functions has ajcr:uuid
property and the value of that property matches any of the UUIDs that has been passed to the predicate's constructor.
-
-
Constructor Summary
Constructors Constructor Description UuidPredicate(@NotNull java.lang.String[] uuids)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(NodeState node)
-