@Service(value=Predicate.class) @Properties(value=@Property(name="predicate.name",value="template")) public class IsTemplateNodePredicate extends AbstractNodePredicate implements Predicate
Constructor and Description |
---|
IsTemplateNodePredicate() |
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 node is an nt:folder containing templates or cq:Template node.RepositoryException
- if an error during evaluation occursCopyright © 2010 - 2020 Adobe. All Rights Reserved