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: IsModuleInstalledOrRegistered.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
vsteller

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

IsModuleInstalledOrRegistered

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

condition

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


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.