info.magnolia.module.delta
Class ChildrenExistsDelegateTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.ConditionalDelegateTask
          extended by 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

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
ChildrenExistsDelegateTask(String name, String description, String workspaceName, String pathToCheck, String contentType, Task ifTrue)
           
ChildrenExistsDelegateTask(String name, String description, String workspaceName, String pathToCheck, String contentType, Task ifTrue, Task ifFalse)
           
 
Method Summary
protected  boolean condition(InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.ConditionalDelegateTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChildrenExistsDelegateTask

public ChildrenExistsDelegateTask(String name,
                                  String description,
                                  String workspaceName,
                                  String pathToCheck,
                                  String contentType,
                                  Task ifTrue)

ChildrenExistsDelegateTask

public ChildrenExistsDelegateTask(String name,
                                  String description,
                                  String workspaceName,
                                  String pathToCheck,
                                  String contentType,
                                  Task ifTrue,
                                  Task ifFalse)
Method Detail

condition

protected boolean condition(InstallContext ctx)
Specified by:
condition in class ConditionalDelegateTask


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.