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, UpdateI18nConfiguration
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-2012 Magnolia International Ltd.. All Rights Reserved.