Class ActualSchemaExtension
-
- All Implemented Interfaces:
public abstract class ActualSchemaExtension
-
-
Field Summary
Fields Modifier and Type Field Description private final RegularFilePropertychangelogFileprivate final DirectoryPropertyresourceBaseDirprivate final RegularFilePropertyoutputFileprivate final Property<String>postgresImageprivate final Property<String>databaseNameprivate final Property<String>usernameprivate final Property<String>passwordprivate final ListProperty<String>schemasprivate final SetProperty<String>excludeTablesprivate final ListProperty<String>liquibaseContextsprivate final ListProperty<String>liquibaseLabelsprivate final MapProperty<String, String>liquibaseParametersprivate final Property<String>liquibaseDefaultSchemaprivate final Property<String>liquibaseSchemaprivate final Property<String>liquibaseChangeLogTableprivate final Property<String>liquibaseChangeLogLockTableprivate final Property<Boolean>includeLiquibaseTablesprivate final Property<Boolean>normalizeOutputprivate final Property<String>postgresImageCompatibleSubstituteFor
-
Constructor Summary
Constructors Constructor Description ActualSchemaExtension()
-
Method Summary
Modifier and Type Method Description abstract RegularFilePropertygetChangelogFile()Root Liquibase changelog to apply. abstract DirectoryPropertygetResourceBaseDir()Root directory used to resolve changelog resources. abstract RegularFilePropertygetOutputFile()Destination of the generated schema snapshot. abstract Property<String>getPostgresImage()PostgreSQL-compatible Docker image used for generation. abstract Property<String>getDatabaseName()Temporary database name. abstract Property<String>getUsername()Temporary database user. abstract Property<String>getPassword()Temporary database password; it does not affect generated DDL. abstract ListProperty<String>getSchemas()PostgreSQL schemas passed to pg_dump; an empty list selects all schemas.abstract SetProperty<String>getExcludeTables()Table patterns passed to pg_dump --exclude-table.abstract ListProperty<String>getLiquibaseContexts()Liquibase contexts enabled while applying the changelog. abstract ListProperty<String>getLiquibaseLabels()Liquibase labels enabled while applying the changelog. abstract MapProperty<String, String>getLiquibaseParameters()Parameters made available to the Liquibase changelog. abstract Property<String>getLiquibaseDefaultSchema()Optional default schema configured on the Liquibase database. abstract Property<String>getLiquibaseSchema()Optional schema containing Liquibase metadata tables. abstract Property<String>getLiquibaseChangeLogTable()Name of the Liquibase changelog metadata table. abstract Property<String>getLiquibaseChangeLogLockTable()Name of the Liquibase changelog lock table. abstract Property<Boolean>getIncludeLiquibaseTables()Whether Liquibase metadata tables should remain in the generated dump. abstract Property<Boolean>getNormalizeOutput()Whether volatile pg_dumplines should be removed from the output.abstract Property<String>getPostgresImageCompatibleSubstituteFor()Canonical image name used by Testcontainers for compatible substitutes such as PostGIS. -
-
Method Detail
-
getChangelogFile
abstract RegularFileProperty getChangelogFile()
Root Liquibase changelog to apply.
-
getResourceBaseDir
abstract DirectoryProperty getResourceBaseDir()
Root directory used to resolve changelog resources.
-
getOutputFile
abstract RegularFileProperty getOutputFile()
Destination of the generated schema snapshot.
-
getPostgresImage
abstract Property<String> getPostgresImage()
PostgreSQL-compatible Docker image used for generation.
-
getDatabaseName
abstract Property<String> getDatabaseName()
Temporary database name.
-
getUsername
abstract Property<String> getUsername()
Temporary database user.
-
getPassword
abstract Property<String> getPassword()
Temporary database password; it does not affect generated DDL.
-
getSchemas
abstract ListProperty<String> getSchemas()
PostgreSQL schemas passed to
pg_dump; an empty list selects all schemas.
-
getExcludeTables
abstract SetProperty<String> getExcludeTables()
Table patterns passed to
pg_dump --exclude-table.
-
getLiquibaseContexts
abstract ListProperty<String> getLiquibaseContexts()
Liquibase contexts enabled while applying the changelog.
-
getLiquibaseLabels
abstract ListProperty<String> getLiquibaseLabels()
Liquibase labels enabled while applying the changelog.
-
getLiquibaseParameters
abstract MapProperty<String, String> getLiquibaseParameters()
Parameters made available to the Liquibase changelog.
-
getLiquibaseDefaultSchema
abstract Property<String> getLiquibaseDefaultSchema()
Optional default schema configured on the Liquibase database.
-
getLiquibaseSchema
abstract Property<String> getLiquibaseSchema()
Optional schema containing Liquibase metadata tables.
-
getLiquibaseChangeLogTable
abstract Property<String> getLiquibaseChangeLogTable()
Name of the Liquibase changelog metadata table.
-
getLiquibaseChangeLogLockTable
abstract Property<String> getLiquibaseChangeLogLockTable()
Name of the Liquibase changelog lock table.
-
getIncludeLiquibaseTables
abstract Property<Boolean> getIncludeLiquibaseTables()
Whether Liquibase metadata tables should remain in the generated dump.
-
getNormalizeOutput
abstract Property<Boolean> getNormalizeOutput()
Whether volatile
pg_dumplines should be removed from the output.
-
getPostgresImageCompatibleSubstituteFor
abstract Property<String> getPostgresImageCompatibleSubstituteFor()
Canonical image name used by Testcontainers for compatible substitutes such as PostGIS.
-
-
-
-