|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExecutedScriptInfoSource
Interface that enables registering which scripts were executed on the database and retrieving this information afterwards.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.unitils.dbmaintainer.util.DatabaseAccessing |
|---|
init |
| Method Detail |
|---|
boolean 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||