public interface DbDesignCatalog
Modifier and Type | Interface and Description |
---|---|
static interface |
DbDesignCatalog.DatabaseDesignAnalysis
Result of the template inheritance scan
|
static interface |
DbDesignCatalog.DesignRefreshBreakHandler |
Modifier and Type | Method and Description |
---|---|
List<DatabaseData> |
findAllDatabaseInheritingTemplate(String server,
String templateName)
Scans the server data directory to find all databases that inherit their design
from the specified template
|
DbDesign |
readDatabaseDesign(Database db) |
void |
refreshDesign(Database db,
String serverWithTemplate)
Refresh the design of a database
|
void |
refreshDesign(Database db,
String serverWithTemplate,
boolean force,
boolean errIfTemplateNotFound,
DbDesignCatalog.DesignRefreshBreakHandler breakHandler)
Refresh the design of a database with advanced options
|
DbDesignCatalog.DatabaseDesignAnalysis |
scanTemplateInheritanceOnServer(String server,
String directory)
Fast scan of the server directory to get information about template inheritance
|
List<DatabaseData> findAllDatabaseInheritingTemplate(String server, String templateName)
server
- servertemplateName
- template nameDbDesignCatalog.DatabaseDesignAnalysis scanTemplateInheritanceOnServer(String server, String directory)
server
- server to scandirectory
- restrict scan to a subdirectory or use empty string to scan the whole servervoid refreshDesign(Database db, String serverWithTemplate)
db
- databaseserverWithTemplate
- server containing the templatevoid refreshDesign(Database db, String serverWithTemplate, boolean force, boolean errIfTemplateNotFound, DbDesignCatalog.DesignRefreshBreakHandler breakHandler)
db
- databaseserverWithTemplate
- server containing the templateforce
- true to force operation, even if destination "up to date"errIfTemplateNotFound
- true to return an error if the template is not foundbreakHandler
- optional break handler to abort the operation (e.g. for graphical user interfaces) or nullCopyright © 2019–2021 HCL. All rights reserved.