info.magnolia.module.delta
Class IsModuleInstalledOrRegistered

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.ConditionalDelegateTask
          extended by info.magnolia.module.delta.NodeExistsDelegateTask
              extended by info.magnolia.module.delta.IsModuleInstalledOrRegistered
All Implemented Interfaces:
Task
Direct Known Subclasses:
ModuleDependencyBootstrapTask

public class IsModuleInstalledOrRegistered
extends NodeExistsDelegateTask

A Task which delegates depending on the existence of a module. (whether it was previously installed, or registered in the current InstallContext)

Version:
$Id$
Author:
vsteller

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
IsModuleInstalledOrRegistered(String taskName, String taskDescription, String moduleName, Task ifTrue)
           
IsModuleInstalledOrRegistered(String taskName, String taskDescription, String moduleName, 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

IsModuleInstalledOrRegistered

public IsModuleInstalledOrRegistered(String taskName,
                                     String taskDescription,
                                     String moduleName,
                                     Task ifTrue)

IsModuleInstalledOrRegistered

public IsModuleInstalledOrRegistered(String taskName,
                                     String taskDescription,
                                     String moduleName,
                                     Task ifTrue,
                                     Task ifFalse)
Method Detail

condition

protected boolean condition(InstallContext ctx)
Overrides:
condition in class NodeExistsDelegateTask


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