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(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String workspaceName,
java.lang.String parentPath,
java.lang.String propertyName,
Task ifTrue)
|
PropertyExistsDelegateTask(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String workspaceName,
java.lang.String parentPath,
java.lang.String propertyName,
Task ifTrue,
Task ifFalse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyExistsDelegateTask
public PropertyExistsDelegateTask(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String workspaceName,
java.lang.String parentPath,
java.lang.String propertyName,
Task ifTrue)
PropertyExistsDelegateTask
public PropertyExistsDelegateTask(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String workspaceName,
java.lang.String parentPath,
java.lang.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-2011 Magnolia International Ltd.. All Rights Reserved.