it.openutils.mgnltasks
Class DiffSimpleModuleVersionHandler

java.lang.Object
  extended by info.magnolia.module.AbstractModuleVersionHandler
      extended by info.magnolia.module.DefaultModuleVersionHandler
          extended by it.openutils.mgnltasks.SimpleModuleVersionHandler
              extended by it.openutils.mgnltasks.DiffSimpleModuleVersionHandler
All Implemented Interfaces:
info.magnolia.module.ModuleVersionHandler

public class DiffSimpleModuleVersionHandler
extends SimpleModuleVersionHandler

Extends SimpleModuleVersionHandler, optimizing the bootstrap by only loading changed files.

Version:
$Id: DiffSimpleModuleVersionHandler.java 2461 2010-05-17 10:25:48Z diego_schivo $
Author:
dschivo

Nested Class Summary
 
Nested classes/interfaces inherited from class info.magnolia.module.AbstractModuleVersionHandler
info.magnolia.module.AbstractModuleVersionHandler.ModuleVersionToLatestTask, info.magnolia.module.AbstractModuleVersionHandler.ModuleVersionUpdateTask
 
Field Summary
 
Fields inherited from class it.openutils.mgnltasks.SimpleModuleVersionHandler
includedRepositoriesInBootstrap, log
 
Constructor Summary
DiffSimpleModuleVersionHandler()
           
 
Method Summary
protected  void addModuleConfigBootstrapTasks(String modulename, info.magnolia.module.delta.Delta delta)
          Deletes any existing module configuration node (templates, paragraphs, virtualURI and dialogs) before reimporting all the content of the bootstrap folder, to avoid any leftover or problems with renamed items.
 
Methods inherited from class it.openutils.mgnltasks.SimpleModuleVersionHandler
addExcludeRepositoryFromBootstrap, addIncludedRepositoryInmBootstrap, getDeltas
 
Methods inherited from class info.magnolia.module.DefaultModuleVersionHandler
getBasicInstallTasks
 
Methods inherited from class info.magnolia.module.AbstractModuleVersionHandler
getCurrentlyInstalled, getDefaultUpdate, getDefaultUpdateConditions, getDefaultUpdateTasks, getExtraInstallTasks, getInstall, getInstallConditions, getStartupDelta, getStartupTasks, getUpdate, getUpdateDeltas, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffSimpleModuleVersionHandler

public DiffSimpleModuleVersionHandler()
Method Detail

addModuleConfigBootstrapTasks

protected void addModuleConfigBootstrapTasks(String modulename,
                                             info.magnolia.module.delta.Delta delta)
Deletes any existing module configuration node (templates, paragraphs, virtualURI and dialogs) before reimporting all the content of the bootstrap folder, to avoid any leftover or problems with renamed items. Subclasses may override this method to implement a more sophisticated logic for bootstrapping module configuration.

Overrides:
addModuleConfigBootstrapTasks in class SimpleModuleVersionHandler


Copyright © 2008-2010 Openmind. All Rights Reserved.