Uses of Class
info.magnolia.module.model.Version

Packages that use Version
info.magnolia.module   
info.magnolia.module.delta   
info.magnolia.module.model   
info.magnolia.module.webapp This package contains the necessary classes to determine if the web-app needs to be bootstrapped, and to do so. 
 

Uses of Version in info.magnolia.module
 

Methods in info.magnolia.module that return Version
 Version ModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx)
          Gets the currently installed version number of this module.
 Version AbstractModuleVersionHandler.getCurrentlyInstalled(InstallContext ctx)
           
 Version ModuleManager.ModuleAndDeltas.getCurrentVersion()
           
protected  Version AbstractModuleVersionHandler.ModuleVersionToLatestTask.getVersion(InstallContext ctx)
           
protected  Version AbstractModuleVersionHandler.ModuleVersionUpdateTask.getVersion(InstallContext ctx)
           
 

Methods in info.magnolia.module with parameters of type Version
protected  List<Condition> AbstractModuleVersionHandler.getDefaultUpdateConditions(Version forVersion)
           
protected  List<Task> AbstractModuleVersionHandler.getDefaultUpdateTasks(Version forVersion)
           
 List<Delta> ModuleVersionHandler.getDeltas(InstallContext installContext, Version from)
          Returns the deltas to be applied to update from the given Version from to the current one.
 List<Delta> AbstractModuleVersionHandler.getDeltas(InstallContext installContext, Version from)
           
protected  List<Delta> AbstractModuleVersionHandler.getUpdateDeltas(InstallContext installContext, Version from)
           
 

Constructors in info.magnolia.module with parameters of type Version
AbstractModuleVersionHandler.ModuleVersionUpdateTask(Version toVersion)
           
ModuleManager.ModuleAndDeltas(ModuleDefinition module, Version currentVersion, List<Delta> deltas)
           
 

Uses of Version in info.magnolia.module.delta
 

Methods in info.magnolia.module.delta that return Version
 Version DeltaBuilder.getVersion()
           
 Version Delta.getVersion()
          Returns the version number for which this Delta is needed.
 

Methods in info.magnolia.module.delta with parameters of type Version
static DeltaBuilder DeltaBuilder.install(Version version, String description)
           
static DeltaBuilder DeltaBuilder.startup(Version version, String description)
          TODO : it seems irrelevant to have a Version in startup tasks.
static DeltaBuilder DeltaBuilder.update(Version toVersion, String description)
           
static DeltaBuilder DeltaBuilder.update(Version toVersion, String description, Task task)
          Convenience factory method for an Update Delta with a single task.
 

Uses of Version in info.magnolia.module.model
 

Fields in info.magnolia.module.model declared as Version
static Version Version.UNDEFINED_DEVELOPMENT_VERSION
           
static Version Version.UNDEFINED_FROM
           
static Version Version.UNDEFINED_TO
           
 

Methods in info.magnolia.module.model that return Version
 Version VersionRange.getFrom()
           
 Version VersionRange.getTo()
           
 Version ModuleDefinition.getVersion()
           
static Version Version.parseVersion(int major, int minor, int patch)
           
static Version Version.parseVersion(String versionStr)
          Factory method that will parse a version string and return the correct Version implementation.
 

Methods in info.magnolia.module.model with parameters of type Version
 int VersionComparator.compare(Version v1, Version v2)
           
 boolean VersionRange.contains(Version other)
           
 boolean Version.isBeforeOrEquivalent(Version other)
           
 boolean Version.isEquivalent(Version other)
          Compares major, minor and patch revisions of this Version against the given Version.
 boolean Version.isStrictlyAfter(Version other)
           
 void ModuleDefinition.setVersion(Version version)
           
 

Constructors in info.magnolia.module.model with parameters of type Version
ModuleDefinition(String name, Version version, String className, Class<? extends ModuleVersionHandler> versionHandler)
           
VersionRange(Version from, Version to)
           
 

Uses of Version in info.magnolia.module.webapp
 

Methods in info.magnolia.module.webapp that return Version
 Version WebappVersionHandler.getCurrentlyInstalled(InstallContext ctx)
           
 Version WebappDelta.getVersion()
           
 

Methods in info.magnolia.module.webapp with parameters of type Version
 List<Delta> WebappVersionHandler.getDeltas(InstallContext ctx, Version from)
           
 



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