|
||||||||||
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. |
void |
deleteAllExecutedPostprocessingScripts()
Removes all previously registered executed postprocessing scripts |
void |
deleteExecutedScript(ExecutedScript executedScript)
Remove the given executed script from the executed scripts |
Set<ExecutedScript> |
getExecutedScripts()
|
void |
markErrorScriptsAsSuccessful()
Marks the failed scripts in the executed scripts table as successful. |
void |
registerExecutedScript(ExecutedScript executedScript)
Registers the fact that the given script has been executed on the database |
void |
removeErrorScripts()
Removes the failed scripts in the executed scripts table. |
void |
renameExecutedScript(ExecutedScript executedScript,
Script renamedToScript)
Registers the fact that the script that was originally executed has been renamed. |
void |
resetCachedState()
Resets the cached state, for example when the scripts table was modified by another process. |
void |
updateExecutedScript(ExecutedScript executedScript)
Updates the given registered script |
Method Detail |
---|
void registerExecutedScript(ExecutedScript executedScript)
executedScript
- The script that was executed on the databasevoid updateExecutedScript(ExecutedScript executedScript)
executedScript
- The script to update, not nullvoid clearAllExecutedScripts()
getExecutedScripts()
will return an empty set.
Set<ExecutedScript> getExecutedScripts()
void deleteExecutedScript(ExecutedScript executedScript)
executedScript
- The executed script, which is no longer part of the executed scriptsvoid renameExecutedScript(ExecutedScript executedScript, Script renamedToScript)
executedScript
- the original executed script that still refers to the original scriptrenamedToScript
- the script to which the original script has been renamedvoid deleteAllExecutedPostprocessingScripts()
void markErrorScriptsAsSuccessful()
void removeErrorScripts()
void resetCachedState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |