public class DbUpdaterEngine extends java.lang.Object implements DbUpdater
Modifier and Type | Class and Description |
---|---|
static interface |
DbUpdaterEngine.FileHandler |
static class |
DbUpdaterEngine.ScriptSplitter |
Modifier and Type | Method and Description |
---|---|
boolean |
dbInitialized() |
java.util.List<java.lang.String> |
findUpdateDatabaseScripts() |
javax.sql.DataSource |
getDataSource() |
java.util.List<ScriptResource> |
getScripts(ScriptType scriptType,
java.lang.String moduleName) |
void |
updateDatabase() |
public javax.sql.DataSource getDataSource()
public java.util.List<ScriptResource> getScripts(ScriptType scriptType, @Nullable java.lang.String moduleName)
public void updateDatabase() throws DbInitializationException
updateDatabase
in interface DbUpdater
DbInitializationException
public java.util.List<java.lang.String> findUpdateDatabaseScripts() throws DbInitializationException
findUpdateDatabaseScripts
in interface DbUpdater
DbInitializationException
public boolean dbInitialized() throws DbInitializationException
dbInitialized
in interface DbUpdater
DbInitializationException