public abstract class CheckNodeDelegateTask extends ConditionalDelegateTask
Modifier and Type | Field and Description |
---|---|
protected String |
nodePath |
protected String |
propertyName |
protected String |
workspaceName |
DO_NOTHING, log
Constructor and Description |
---|
CheckNodeDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String nodePath,
String propertyName,
Task ifTrue,
Task ifFalse) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
checkNode(javax.jcr.Node node,
InstallContext ctx) |
protected boolean |
condition(InstallContext ctx) |
execute
getDescription, getName, toString
protected final String workspaceName
protected final String nodePath
protected final String propertyName
protected boolean condition(InstallContext ctx) throws TaskExecutionException
condition
in class ConditionalDelegateTask
TaskExecutionException
protected abstract boolean checkNode(javax.jcr.Node node, InstallContext ctx) throws javax.jcr.RepositoryException, TaskExecutionException
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.