info.magnolia.module.delta
Class NodeExistsDelegateTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.ConditionalDelegateTask
info.magnolia.module.delta.NodeExistsDelegateTask
- All Implemented Interfaces:
- Task
- Direct Known Subclasses:
- BootstrapConditionally, IsModuleInstalledOrRegistered, ReplaceIfExistsTask
public class NodeExistsDelegateTask
- extends ConditionalDelegateTask
A task that delegates to another depending on whether a specified node exists or not.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
NodeExistsDelegateTask
public NodeExistsDelegateTask(String name,
String description,
String workspaceName,
String pathToCheck,
Task ifTrue)
NodeExistsDelegateTask
public NodeExistsDelegateTask(String name,
String description,
String workspaceName,
String pathToCheck,
Task ifTrue,
Task ifFalse)
condition
protected boolean condition(InstallContext ctx)
- Specified by:
condition
in class ConditionalDelegateTask
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.