Package com.day.cq.commons.predicate
Class IsUnstructuredPredicate
- java.lang.Object
-
- com.day.cq.commons.predicate.AbstractNodePredicate
-
- com.day.cq.commons.predicate.IsUnstructuredPredicate
-
- All Implemented Interfaces:
Predicate
@Service(Predicate.class) @Properties(@Property(name="predicate.name",value="unstructured")) public class IsUnstructuredPredicate extends AbstractNodePredicate implements Predicate
Predicate used to filter nodes of type nt:unstructured.
-
-
Constructor Summary
Constructors Constructor Description IsUnstructuredPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(Node node)
Evaluates this predicate on the given node.-
Methods inherited from class com.day.cq.commons.predicate.AbstractNodePredicate
evaluate
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(Node node) throws RepositoryException
Evaluates this predicate on the given node.- Specified by:
evaluate
in classAbstractNodePredicate
- Parameters:
node
- the node- Returns:
true
if node is or extends nt:unstructured- Throws:
RepositoryException
- if an error during evaluation occurs
-
-