public class UuidPredicate extends Object implements Predicate<NodeState>, Predicate<NodeState>
NodeState passed to its apply functions has a jcr:uuid
property and the value of that property matches any of the UUIDs that
has been passed to the predicate's constructor.| Constructor and Description |
|---|
UuidPredicate(@NotNull String[] uuids) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(NodeState node)
Deprecated.
use
test(NodeState) instead (see OAK-8874) |
boolean |
test(NodeState node) |
public UuidPredicate(@NotNull
@NotNull String[] uuids)
uuids - uuidspublic boolean test(NodeState node)
@Deprecated public boolean apply(NodeState node)
test(NodeState) instead (see OAK-8874)Predicateinput. This method is generally
expected, but not absolutely required, to have the following properties:
Objects.equal(a, b) implies that predicate.apply(a) ==
predicate.apply(b)).
Copyright © 2010 - 2020 Adobe. All Rights Reserved