Uses of Class
org.unitils.dbmaintainer.script.ExecutedScript

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

Uses of ExecutedScript in org.unitils.dbmaintainer
 

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

Uses of ExecutedScript in org.unitils.dbmaintainer.script
 

Method parameters in org.unitils.dbmaintainer.script with type arguments of type ExecutedScript
 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 ExecutedScript in org.unitils.dbmaintainer.script.impl
 

Method parameters in org.unitils.dbmaintainer.script.impl with type arguments of type ExecutedScript
protected  Map<String,Script> DefaultScriptSource.convertToScriptNameScriptMap(Set<ExecutedScript> executedScripts)
           
 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 ExecutedScript in org.unitils.dbmaintainer.version
 

Methods in org.unitils.dbmaintainer.version that return types with arguments of type ExecutedScript
 Set<ExecutedScript> ExecutedScriptInfoSource.getExecutedScripts()
           
 

Methods in org.unitils.dbmaintainer.version with parameters of type ExecutedScript
 void ExecutedScriptInfoSource.registerExecutedScript(ExecutedScript executedScript)
          Registers the fact that the given script has been executed on the database
 void ExecutedScriptInfoSource.updateExecutedScript(ExecutedScript executedScript)
          Updates the given registered script
 

Uses of ExecutedScript in org.unitils.dbmaintainer.version.impl
 

Fields in org.unitils.dbmaintainer.version.impl with type parameters of type ExecutedScript
protected  Set<ExecutedScript> DefaultExecutedScriptInfoSource.executedScripts
           
 

Methods in org.unitils.dbmaintainer.version.impl that return types with arguments of type ExecutedScript
protected  Set<ExecutedScript> DefaultExecutedScriptInfoSource.doGetExecutedScripts()
          Precondition: The table dbmaintain_scripts must exist
 Set<ExecutedScript> DefaultExecutedScriptInfoSource.getExecutedScripts()
           
 

Methods in org.unitils.dbmaintainer.version.impl with parameters of type ExecutedScript
protected  void DefaultExecutedScriptInfoSource.doRegisterExecutedScript(ExecutedScript executedScript)
          Registers the fact that the given script has been executed on the database Precondition: The table dbmaintain_scripts must exist
protected  void DefaultExecutedScriptInfoSource.doSaveExecutedScript(ExecutedScript executedScript)
          Saves the given registered script Precondition: The table dbmaintain_scripts must exist
protected  void DefaultExecutedScriptInfoSource.doUpdateExecutedScript(ExecutedScript executedScript)
          Updates the given registered script Precondition: The table dbmaintain_scripts must exist
 void DefaultExecutedScriptInfoSource.registerExecutedScript(ExecutedScript executedScript)
          Registers the fact that the given script has been executed on the database
 void DefaultExecutedScriptInfoSource.updateExecutedScript(ExecutedScript executedScript)
          Updates the given registered script
 



Copyright © 2011. All Rights Reserved.