Package liquibase.database
Interface LiquibaseTableNames
- All Known Implementing Classes:
StandardLiquibaseTableNames
public interface LiquibaseTableNames
-
Method Summary
Modifier and TypeMethodDescriptionvoidDrops the Liquibase-generated tables this modifier knows about.getLiquibaseGeneratedTableNames(Database database) Given a database, return a list of Liquibase generated tables.intgetOrder()Returns the order in which modifiers should be run.
-
Method Details
-
getLiquibaseGeneratedTableNames
Given a database, return a list of Liquibase generated tables. This is commonly (but not limited to) tables like DATABASECHANGELOG and DATABASECHANGELOGLOCK. -
destroy
Drops the Liquibase-generated tables this modifier knows about.ADR-0005 (INT-2205 phase 2): the clause is widened from
DatabaseExceptiontoLiquibaseExceptionso a classified business/system failure raised deeper in the teardown chain (e.g.LockService.destroy()) can flow through unwrapped. Existing implementors may keep a narrowerthrows DatabaseExceptionoverride unchanged (source-compatible) —ProLiquibaseTableNamesdoes exactly that.- Throws:
LiquibaseException- if the teardown fails
-
getOrder
int getOrder()Returns the order in which modifiers should be run. Modifiers with a higher order will run after modifiers with a lower order value.- Returns:
- int
-