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