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