Uses of Class
org.dbmaintain.script.Script

Packages that use Script
org.dbmaintain   
org.dbmaintain.script   
org.dbmaintain.script.analyzer   
org.dbmaintain.script.executedscriptinfo   
org.dbmaintain.script.executedscriptinfo.impl   
org.dbmaintain.script.repository   
org.dbmaintain.script.repository.impl   
org.dbmaintain.script.runner   
org.dbmaintain.script.runner.impl   
 

Uses of Script in org.dbmaintain
 

Methods in org.dbmaintain that return types with arguments of type Script
protected  Map<Script,ExecutedScript> DefaultDbMaintainer.getAlreadyExecutedScripts()
           
 

Methods in org.dbmaintain with parameters of type Script
protected  void DefaultDbMaintainer.executeScript(Script script)
          Executes the given script and updates the database execution registry appropriately.
protected  String DefaultDbMaintainer.getErrorMessage(Script script, DbMaintainException e)
           
protected  String DefaultDbMaintainer.getErrorScriptOptionsMessage(Script script)
           
 

Method parameters in org.dbmaintain with type arguments of type Script
protected  void DefaultDbMaintainer.executeScripts(SortedSet<Script> scripts)
          Executes the given scripts and updates the database execution registry appropriately.
 

Uses of Script in org.dbmaintain.script
 

Methods in org.dbmaintain.script that return Script
 Script ScriptFactory.createScriptWithContent(String fileName, Long fileLastModifiedAt, ScriptContentHandle scriptContentHandle)
           
 Script ScriptFactory.createScriptWithoutContent(String fileName, Long fileLastModifiedAt, String checkSum)
           
 Script ExecutedScript.getScript()
           
 

Methods in org.dbmaintain.script with parameters of type Script
 int Script.compareTo(Script script)
          Compares the given script to this script by comparing the versions.
 boolean Script.isScriptContentEqualTo(Script other, boolean useLastModificationDates)
           
 void ExecutedScript.renameTo(Script script)
          Registers the fact that the script that was originally executed has been renamed.
 

Constructors in org.dbmaintain.script with parameters of type Script
ExecutedScript(Script script, Date executedAt, Boolean successful)
           
 

Uses of Script in org.dbmaintain.script.analyzer
 

Methods in org.dbmaintain.script.analyzer that return Script
protected  Script ScriptUpdatesAnalyzer.findNewScriptWithSameContent(ExecutedScript executedScript)
           
protected  Script ScriptUpdatesAnalyzer.findScriptWithSameName(ExecutedScript executedScript)
           
protected  Script ScriptUpdatesAnalyzer.getExecutedScriptWithHighestScriptIndex()
           
 Script ScriptUpdate.getRenamedToScript()
           
 Script ScriptUpdate.getScript()
           
 

Methods in org.dbmaintain.script.analyzer that return types with arguments of type Script
protected  Map<String,Set<Script>> ScriptUpdatesAnalyzer.getCheckSumScriptMap()
           
protected  Map<String,Script> ScriptUpdatesAnalyzer.getScriptNameScriptMap()
           
 

Methods in org.dbmaintain.script.analyzer with parameters of type Script
protected  void ScriptUpdatesAnalyzer.registerIrregularScriptUpdate(ScriptUpdateType scriptUpdateType, Script script)
           
protected  void ScriptUpdatesAnalyzer.registerIrregularScriptUpdate(ScriptUpdateType scriptUpdateType, Script script1, Script script2)
           
protected  void ScriptUpdatesAnalyzer.registerPostprocessingScriptRename(ScriptUpdateType scriptUpdateType, Script originalScript, Script renamedToScript)
           
protected  void ScriptUpdatesAnalyzer.registerPostprocessingScriptUpdate(ScriptUpdateType scriptUpdateType, Script script)
           
protected  void ScriptUpdatesAnalyzer.registerRegularlyAddedPatchScript(ScriptUpdateType scriptUpdateType, Script script)
           
protected  void ScriptUpdatesAnalyzer.registerRegularScriptRename(ScriptUpdateType scriptUpdateType, Script originalScript, Script renamedScript)
           
protected  void ScriptUpdatesAnalyzer.registerRegularScriptUpdate(ScriptUpdateType scriptUpdateType, Script script)
           
protected  void ScriptUpdatesAnalyzer.registerRepeatableScriptDeletion(Script script)
           
protected  void ScriptUpdatesAnalyzer.registerScriptAddition(Script script)
          Register the given script as a newly added one
protected  void ScriptUpdatesAnalyzer.registerScriptDeletion(Script deletedScript)
          Register that the given script has been deleted since the last update
protected  void ScriptUpdatesAnalyzer.registerScriptRename(ExecutedScript executedScript, Script renamedTo)
          Register that the given script has been renamed to the given new script since the last update
protected  void ScriptUpdatesAnalyzer.registerScriptUpdate(Script script)
          Register that the given script's content has changed since the last update
 

Constructors in org.dbmaintain.script.analyzer with parameters of type Script
ScriptUpdate(ScriptUpdateType type, Script script)
           
ScriptUpdate(ScriptUpdateType type, Script script, Script renamedToScript)
           
 

Uses of Script in org.dbmaintain.script.executedscriptinfo
 

Methods in org.dbmaintain.script.executedscriptinfo with parameters of type Script
 void ExecutedScriptInfoSource.renameExecutedScript(ExecutedScript executedScript, Script renamedToScript)
          Registers the fact that the script that was originally executed has been renamed.
 

Uses of Script in org.dbmaintain.script.executedscriptinfo.impl
 

Methods in org.dbmaintain.script.executedscriptinfo.impl with parameters of type Script
 void DefaultExecutedScriptInfoSource.renameExecutedScript(ExecutedScript executedScript, Script renamedToScript)
          Registers the fact that the script that was originally executed has been renamed.
 

Uses of Script in org.dbmaintain.script.repository
 

Fields in org.dbmaintain.script.repository with type parameters of type Script
protected  SortedSet<Script> ScriptRepository.indexedScripts
           
protected  SortedSet<Script> ScriptRepository.postProcessingScripts
           
protected  SortedSet<Script> ScriptRepository.repeatableScripts
           
protected  SortedSet<Script> ScriptLocation.scripts
           
 

Methods in org.dbmaintain.script.repository that return Script
protected  Script ScriptLocation.createScript(String fileName, Long fileLastModifiedAt, ScriptContentHandle scriptContentHandle)
           
 

Methods in org.dbmaintain.script.repository that return types with arguments of type Script
 SortedSet<Script> ScriptRepository.getAllScripts()
           
 SortedSet<Script> ScriptRepository.getAllUpdateScripts()
           
 SortedSet<Script> ScriptRepository.getIndexedScripts()
           
 SortedSet<Script> ScriptRepository.getPostProcessingScripts()
           
 SortedSet<Script> ScriptRepository.getRepeatableScripts()
           
 SortedSet<Script> ScriptLocation.getScripts()
           
protected abstract  SortedSet<Script> ScriptLocation.loadScripts(File scriptLocation)
           
 

Constructor parameters in org.dbmaintain.script.repository with type arguments of type Script
ScriptLocation(SortedSet<Script> scripts, String scriptEncoding, String postProcessingScriptDirName, Set<Qualifier> registeredQualifiers, Set<Qualifier> patchQualifiers, String scriptIndexRegexp, String qualifierRegexp, String targetDatabaseRegexp, Set<String> scriptFileExtensions, ScriptIndexes baseLineRevision, boolean ignoreCarriageReturnsWhenCalculatingCheckSum)
           
 

Uses of Script in org.dbmaintain.script.repository.impl
 

Methods in org.dbmaintain.script.repository.impl that return Script
protected  Script FileSystemScriptLocation.createScript(File scriptFile, String relativeScriptFileName)
          Creates a script object for the given script file
 

Methods in org.dbmaintain.script.repository.impl that return types with arguments of type Script
protected  SortedSet<Script> FileSystemScriptLocation.loadScripts(File scriptLocation)
           
protected  SortedSet<Script> ArchiveScriptLocation.loadScripts(File scriptLocation)
          Initializes the scripts from the given jar file
protected  SortedSet<Script> ArchiveScriptLocation.loadScriptsFromJar(JarFile jarFile, String subPath)
           
 

Method parameters in org.dbmaintain.script.repository.impl with type arguments of type Script
protected  void FileSystemScriptLocation.getScriptsAt(SortedSet<Script> scripts, String scriptRoot, String relativeLocation)
          Adds all scripts available in the given directory or one of its subdirectories to the given set of files.
 

Constructor parameters in org.dbmaintain.script.repository.impl with type arguments of type Script
ArchiveScriptLocation(SortedSet<Script> scripts, String scriptEncoding, String postProcessingScriptDirName, Set<Qualifier> registeredQualifiers, Set<Qualifier> patchQualifiers, String scriptIndexRegexp, String qualifierRegexp, String targetDatabaseRegexp, Set<String> scriptFileExtensions, ScriptIndexes baseLineRevision, boolean ignoreCarriageReturnsWhenCalculatingCheckSum)
          Creates a new instance of the ArchiveScriptLocation, while there is no jar file available yet.
 

Uses of Script in org.dbmaintain.script.runner
 

Methods in org.dbmaintain.script.runner with parameters of type Script
 void ScriptRunner.execute(Script script)
          Executes the given script
 

Uses of Script in org.dbmaintain.script.runner.impl
 

Methods in org.dbmaintain.script.runner.impl with parameters of type Script
protected  File BaseNativeScriptRunner.createTemporaryScriptFile(Script script)
           
 void JdbcScriptRunner.execute(Script script)
          Executes the given script.
 void BaseNativeScriptRunner.execute(Script script)
          Executes the given script.
protected  Database JdbcScriptRunner.getTargetDatabaseDatabase(Script script)
           
protected  Database BaseNativeScriptRunner.getTargetDatabaseDatabase(Script script)
           
protected  String SqlPlusScriptRunner.getTemporaryScriptName(Script script)
          Oracle does not support blanks in file names, so remove them from the temp file name.
protected  String BaseNativeScriptRunner.getTemporaryScriptName(Script script)
           
 



Copyright © 2011. All Rights Reserved.