Package com.day.cq.commons.predicate
Class IsNoSystemNodePredicate
- java.lang.Object
-
- com.day.cq.commons.predicate.AbstractNodePredicate
-
- com.day.cq.commons.predicate.IsNoSystemNodePredicate
-
- All Implemented Interfaces:
Predicate
@Service(Predicate.class) @Properties(@Property(name="predicate.name",value="nosystem")) public class IsNoSystemNodePredicate extends AbstractNodePredicate implements Predicate
Predicate used to filter payload resources.
-
-
Constructor Summary
Constructors Constructor Description IsNoSystemNodePredicate()
-
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 the node's name is not jcr:system or rep:policy- Throws:
RepositoryException
- if an error during evaluation occurs
-
-