info.magnolia.module.delta
Class HasPropertyDelegateTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.ConditionalDelegateTask
info.magnolia.module.delta.CheckNodeDelegateTask
info.magnolia.module.delta.HasPropertyDelegateTask
- All Implemented Interfaces:
- Task
public class HasPropertyDelegateTask
- extends CheckNodeDelegateTask
A task that delegates to another depending on whether a specified property exists or not.
Constructor Summary |
HasPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String parentPath,
String propertyName,
Task ifTrue)
|
HasPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String parentPath,
String propertyName,
Task ifTrue,
Task ifFalse)
|
HasPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
Task ifTrue)
|
HasPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
Task ifTrue,
Task ifFalse)
|
HasPropertyDelegateTask
public HasPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
Task ifTrue)
HasPropertyDelegateTask
public HasPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
Task ifTrue,
Task ifFalse)
HasPropertyDelegateTask
public HasPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String parentPath,
String propertyName,
Task ifTrue)
HasPropertyDelegateTask
public HasPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String parentPath,
String propertyName,
Task ifTrue,
Task ifFalse)
checkNode
protected boolean checkNode(javax.jcr.Node node,
InstallContext ctx)
throws javax.jcr.RepositoryException
- Specified by:
checkNode
in class CheckNodeDelegateTask
- Throws:
javax.jcr.RepositoryException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.