Uses of Class
org.unitils.dbmaintainer.version.Version

Packages that use Version
org.unitils.dbmaintainer   
org.unitils.dbmaintainer.script   
org.unitils.dbmaintainer.script.impl   
org.unitils.dbmaintainer.version   
 

Uses of Version in org.unitils.dbmaintainer
 

Methods in org.unitils.dbmaintainer that return Version
protected  Version DBMaintainer.getHighestExecutedScriptVersion(Set<ExecutedScript> executedScripts)
           
 

Methods in org.unitils.dbmaintainer with parameters of type Version
protected  boolean DBMaintainer.shouldUpdateDatabaseFromScratch(Version currentVersion, Set<ExecutedScript> alreadyExecutedScripts)
          Checks whether the database should be updated from scratch or just incrementally.
 

Uses of Version in org.unitils.dbmaintainer.script
 

Methods in org.unitils.dbmaintainer.script that return Version
protected  Version Script.createVersion(List<Long> parentIndexes, File scriptFile)
          Creates a version for the given script file.
 Version Script.getVersion()
           
protected  Version Script.getVersionFromPath(String relativePath)
           
 

Methods in org.unitils.dbmaintainer.script with parameters of type Version
 List<Script> ScriptSource.getNewScripts(Version highestExecutedScriptVersion, Set<ExecutedScript> alreadyExecutedScripts)
          Returns a list of scripts including the ones that: have a higher version than the given version are unversioned, and they weren't yet applied on the database are unversioned, and their contents differ from the one currently applied to the database

The scripts are returned in the order in which they should be executed.

 boolean ScriptSource.isExistingIndexedScriptModified(Version currentVersion, Set<ExecutedScript> alreadyExecutedScripts)
          Returns true if one or more scripts that have a version index equal to or lower than the index specified by the given version object has been modified since the timestamp specfied by the given version.
 

Uses of Version in org.unitils.dbmaintainer.script.impl
 

Methods in org.unitils.dbmaintainer.script.impl with parameters of type Version
 List<Script> DefaultScriptSource.getNewScripts(Version currentVersion, Set<ExecutedScript> alreadyExecutedScripts)
          Returns a list of scripts with a higher version or whose contents were changed.
 boolean DefaultScriptSource.isExistingIndexedScriptModified(Version currentVersion, Set<ExecutedScript> alreadyExecutedScripts)
          Returns true if one or more scripts that have a version index equal to or lower than the index specified by the given version object has been modified since the timestamp specfied by the given version.
 

Uses of Version in org.unitils.dbmaintainer.version
 

Methods in org.unitils.dbmaintainer.version with parameters of type Version
 int Version.compareTo(Version otherVersion)
          Compares the given version to this version using the index values.
 



Copyright © 2011. All Rights Reserved.