public interface ExecutedScriptInfoSource extends DatabaseAccessing
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllExecutedScripts()
Clears all script executions that have been registered.
|
Set<ExecutedScript> |
getExecutedScripts() |
boolean |
isFromScratchUpdateRecommended()
This method returns whether a from scratch update is recommended: It will return true
if the database is in it's initial state (i.e. no scripts were executed yet) and the
autoCreateExecutedScriptsTable property is set to true.
|
void |
registerExecutedScript(ExecutedScript executedScript)
Registers the fact that the given script has been executed on the database
|
void |
updateExecutedScript(ExecutedScript executedScript)
Updates the given registered script
|
initboolean isFromScratchUpdateRecommended()
void registerExecutedScript(ExecutedScript executedScript)
executedScript - The script that was executed on the databasevoid updateExecutedScript(ExecutedScript executedScript)
executedScript - void clearAllExecutedScripts()
getExecutedScripts() will return an empty set.Set<ExecutedScript> getExecutedScripts()
Copyright © 2017. All rights reserved.