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
Constructor Summary |
NodeExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
Task ifTrue)
|
NodeExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
Task ifTrue,
Task ifFalse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NodeExistsDelegateTask
public NodeExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
Task ifTrue)
NodeExistsDelegateTask
public NodeExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
Task ifTrue,
Task ifFalse)
condition
protected boolean condition(InstallContext ctx)
- Specified by:
condition
in class ConditionalDelegateTask
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.