info.magnolia.setup
Class CoreModuleVersionHandler

java.lang.Object
  extended by info.magnolia.module.AbstractModuleVersionHandler
      extended by info.magnolia.setup.CoreModuleVersionHandler
All Implemented Interfaces:
ModuleVersionHandler

public class CoreModuleVersionHandler
extends AbstractModuleVersionHandler

3.5 being the first version of core as a module, it is always "installed", but we need it to behave differently if magnolia was installed previously (ie. updating from 3.0), which is why there are so many "conditional tasks". Once 3.5 is out the door, this will need to be revised completely.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Nested Class Summary
 
Nested classes/interfaces inherited from class info.magnolia.module.AbstractModuleVersionHandler
AbstractModuleVersionHandler.ModuleVersionToLatestTask, AbstractModuleVersionHandler.ModuleVersionUpdateTask
 
Field Summary
static String BOOTSTRAP_AUTHOR_INSTANCE_PROPERTY
           
 
Fields inherited from class info.magnolia.module.AbstractModuleVersionHandler
log
 
Constructor Summary
CoreModuleVersionHandler()
           
 
Method Summary
protected  List<Task> getBasicInstallTasks(InstallContext ctx)
           
protected  List<Condition> getInstallConditions()
           
 
Methods inherited from class info.magnolia.module.AbstractModuleVersionHandler
getCurrentlyInstalled, getDefaultUpdate, getDefaultUpdateConditions, getDefaultUpdateTasks, getDeltas, getExtraInstallTasks, getInstall, getStartupDelta, getStartupTasks, getUpdate, getUpdateDeltas, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOTSTRAP_AUTHOR_INSTANCE_PROPERTY

public static final String BOOTSTRAP_AUTHOR_INSTANCE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

CoreModuleVersionHandler

public CoreModuleVersionHandler()
Method Detail

getBasicInstallTasks

protected List<Task> getBasicInstallTasks(InstallContext ctx)
Specified by:
getBasicInstallTasks in class AbstractModuleVersionHandler

getInstallConditions

protected List<Condition> getInstallConditions()
Overrides:
getInstallConditions in class AbstractModuleVersionHandler


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