info.magnolia.module
Class AbstractModuleVersionHandler.ModuleVersionToLatestTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.AbstractModuleVersionHandler.ModuleVersionToLatestTask
All Implemented Interfaces:
Task
Direct Known Subclasses:
AbstractModuleVersionHandler.ModuleVersionUpdateTask
Enclosing class:
AbstractModuleVersionHandler

public class AbstractModuleVersionHandler.ModuleVersionToLatestTask
extends AbstractRepositoryTask

The task which modifies the "version" property to the version being installed. (from module descriptor) TODO : make this mandatory and "hidden" ?


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
protected AbstractModuleVersionHandler.ModuleVersionToLatestTask()
           
 
Method Summary
protected  void doExecute(InstallContext ctx)
           
protected  Version getVersion(InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
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

AbstractModuleVersionHandler.ModuleVersionToLatestTask

protected AbstractModuleVersionHandler.ModuleVersionToLatestTask()
Method Detail

doExecute

protected void doExecute(InstallContext ctx)
                  throws javax.jcr.RepositoryException,
                         TaskExecutionException
Specified by:
doExecute in class AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException
TaskExecutionException

getVersion

protected Version getVersion(InstallContext ctx)


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