public abstract class AllChildrenTask extends NodeVisitorTask
AllChildrenTask
helps traversing all level-1 children and execute changes on them.DO_NOTHING, log
Constructor and Description |
---|
AllChildrenTask(String name,
String description,
String workspace,
String absPath) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
nodeMatches(javax.jcr.Node node)
Implement this method to define which nodes should subsequently be operated upon.
|
doExecute, getFilteringPredicate, operateOnNode
execute
getDescription, getName, toString
protected boolean nodeMatches(javax.jcr.Node node)
NodeVisitorTask
This will be called for every visited node in that task, and serves a similar purpose as a JCR query statement.
nodeMatches
in class NodeVisitorTask
node
- the JCR node that is currently being visitedtrue
if the node should be operated upon, false
otherwiseNodeVisitorTask.operateOnNode(InstallContext, Node)
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.