info.magnolia.module.delta
Class ChildrenExistsDelegateTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.ConditionalDelegateTask
info.magnolia.module.delta.ChildrenExistsDelegateTask
- All Implemented Interfaces:
- Task
public class ChildrenExistsDelegateTask
- extends ConditionalDelegateTask
A task that delegates to another depending on existence of children.
- Version:
- $Revision: $ ($Author: $)
- Author:
- ochytil
Constructor Summary |
ChildrenExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
java.lang.String contentType,
Task ifTrue)
|
ChildrenExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
java.lang.String contentType,
Task ifTrue,
Task ifFalse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChildrenExistsDelegateTask
public ChildrenExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
java.lang.String contentType,
Task ifTrue)
ChildrenExistsDelegateTask
public ChildrenExistsDelegateTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String pathToCheck,
java.lang.String contentType,
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.