@Service(value=Predicate.class) @Properties(value=@Property(name="predicate.name",value="nosystem")) public class IsNoSystemNodePredicate extends AbstractNodePredicate implements Predicate
Constructor and Description |
---|
IsNoSystemNodePredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Node node)
Evaluates this predicate on the given node.
|
evaluate
public boolean evaluate(Node node) throws RepositoryException
evaluate
in class AbstractNodePredicate
node
- the nodetrue
if the node's name is not jcr:system or
rep:policyRepositoryException
- if an error during evaluation occursCopyright © 2010 - 2020 Adobe. All Rights Reserved