Class FlywayProperties
java.lang.Object
org.springframework.boot.autoconfigure.flyway.FlywayProperties
Configuration properties for Flyway database migrations.
- Since:
- 1.1.0
- Author:
- Dave Syer, EddĂș MelĂ©ndez, Stephane Nicoll, Chris Bono
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBatch()
String[]
int
String[]
int
String[]
getTable()
getUrl()
getUser()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isGroup()
boolean
isMixed()
boolean
boolean
boolean
boolean
boolean
boolean
void
setBaselineDescription
(String baselineDescription) void
setBaselineOnMigrate
(boolean baselineOnMigrate) void
setBaselineVersion
(String baselineVersion) void
void
setCherryPick
(String[] cherryPick) void
setCleanDisabled
(boolean cleanDisabled) void
setCleanOnValidationError
(boolean cleanOnValidationError) void
setConnectRetries
(int connectRetries) void
setConnectRetriesInterval
(Duration connectRetriesInterval) void
setCreateSchemas
(boolean createSchemas) void
setDefaultSchema
(String defaultSchema) void
setDetectEncoding
(Boolean detectEncoding) void
setDriverClassName
(String driverClassName) void
setDryRunOutput
(File dryRunOutput) void
setEnabled
(boolean enabled) void
setEncoding
(Charset encoding) void
setErrorOverrides
(String[] errorOverrides) void
setExecuteInTransaction
(boolean executeInTransaction) void
setFailOnMissingLocations
(boolean failOnMissingLocations) void
setGroup
(boolean group) void
setIgnoreMigrationPatterns
(List<String> ignoreMigrationPatterns) void
setInitSqls
(List<String> initSqls) void
setInstalledBy
(String installedBy) void
setJdbcProperties
(Map<String, String> jdbcProperties) void
setKerberosConfigFile
(String kerberosConfigFile) void
setLicenseKey
(String licenseKey) void
setLocations
(List<String> locations) void
setLockRetryCount
(Integer lockRetryCount) void
setLoggers
(String[] loggers) void
setMixed
(boolean mixed) void
setOracleKerberosCacheFile
(String oracleKerberosCacheFile) void
setOracleSqlplus
(Boolean oracleSqlplus) void
setOracleSqlplusWarn
(Boolean oracleSqlplusWarn) void
setOracleWalletLocation
(String oracleWalletLocation) void
setOutOfOrder
(boolean outOfOrder) void
setOutputQueryResults
(Boolean outputQueryResults) void
setPassword
(String password) void
setPlaceholderPrefix
(String placeholderPrefix) void
setPlaceholderReplacement
(boolean placeholderReplacement) void
setPlaceholders
(Map<String, String> placeholders) void
setPlaceholderSeparator
(String placeholderSeparator) void
setPlaceholderSuffix
(String placeholderSuffix) void
setRepeatableSqlMigrationPrefix
(String repeatableSqlMigrationPrefix) void
setSchemas
(List<String> schemas) void
setScriptPlaceholderPrefix
(String scriptPlaceholderPrefix) void
setScriptPlaceholderSuffix
(String scriptPlaceholderSuffix) void
setSkipDefaultCallbacks
(boolean skipDefaultCallbacks) void
setSkipDefaultResolvers
(boolean skipDefaultResolvers) void
setSkipExecutingMigrations
(Boolean skipExecutingMigrations) void
setSqlMigrationPrefix
(String sqlMigrationPrefix) void
setSqlMigrationSeparator
(String sqlMigrationSeparator) void
setSqlMigrationSuffixes
(List<String> sqlMigrationSuffixes) void
setSqlServerKerberosLoginFile
(String sqlServerKerberosLoginFile) void
void
void
setTablespace
(String tablespace) void
void
setUndoSqlMigrationPrefix
(String undoSqlMigrationPrefix) void
void
void
setValidateMigrationNaming
(boolean validateMigrationNaming) void
setValidateOnMigrate
(boolean validateOnMigrate)
-
Constructor Details
-
FlywayProperties
public FlywayProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
isFailOnMissingLocations
public boolean isFailOnMissingLocations() -
setFailOnMissingLocations
public void setFailOnMissingLocations(boolean failOnMissingLocations) -
getLocations
-
setLocations
-
getEncoding
-
setEncoding
-
getConnectRetries
public int getConnectRetries() -
setConnectRetries
public void setConnectRetries(int connectRetries) -
getConnectRetriesInterval
-
setConnectRetriesInterval
-
getLockRetryCount
public int getLockRetryCount() -
setLockRetryCount
-
getDefaultSchema
-
setDefaultSchema
-
getSchemas
-
setSchemas
-
isCreateSchemas
public boolean isCreateSchemas() -
setCreateSchemas
public void setCreateSchemas(boolean createSchemas) -
getTable
-
setTable
-
getTablespace
-
setTablespace
-
getBaselineDescription
-
setBaselineDescription
-
getBaselineVersion
-
setBaselineVersion
-
getInstalledBy
-
setInstalledBy
-
getPlaceholders
-
setPlaceholders
-
getPlaceholderPrefix
-
setPlaceholderPrefix
-
getPlaceholderSuffix
-
setPlaceholderSuffix
-
getPlaceholderSeparator
-
setPlaceholderSeparator
-
isPlaceholderReplacement
public boolean isPlaceholderReplacement() -
setPlaceholderReplacement
public void setPlaceholderReplacement(boolean placeholderReplacement) -
getSqlMigrationPrefix
-
setSqlMigrationPrefix
-
getSqlMigrationSuffixes
-
setSqlMigrationSuffixes
-
getSqlMigrationSeparator
-
setSqlMigrationSeparator
-
getRepeatableSqlMigrationPrefix
-
setRepeatableSqlMigrationPrefix
-
getTarget
-
setTarget
-
getUser
-
setUser
-
getPassword
-
setPassword
-
getDriverClassName
-
setDriverClassName
-
getUrl
-
setUrl
-
getInitSqls
-
setInitSqls
-
isBaselineOnMigrate
public boolean isBaselineOnMigrate() -
setBaselineOnMigrate
public void setBaselineOnMigrate(boolean baselineOnMigrate) -
isCleanDisabled
public boolean isCleanDisabled() -
setCleanDisabled
public void setCleanDisabled(boolean cleanDisabled) -
isCleanOnValidationError
public boolean isCleanOnValidationError() -
setCleanOnValidationError
public void setCleanOnValidationError(boolean cleanOnValidationError) -
isGroup
public boolean isGroup() -
setGroup
public void setGroup(boolean group) -
isMixed
public boolean isMixed() -
setMixed
public void setMixed(boolean mixed) -
isOutOfOrder
public boolean isOutOfOrder() -
setOutOfOrder
public void setOutOfOrder(boolean outOfOrder) -
isSkipDefaultCallbacks
public boolean isSkipDefaultCallbacks() -
setSkipDefaultCallbacks
public void setSkipDefaultCallbacks(boolean skipDefaultCallbacks) -
isSkipDefaultResolvers
public boolean isSkipDefaultResolvers() -
setSkipDefaultResolvers
public void setSkipDefaultResolvers(boolean skipDefaultResolvers) -
isValidateMigrationNaming
public boolean isValidateMigrationNaming() -
setValidateMigrationNaming
public void setValidateMigrationNaming(boolean validateMigrationNaming) -
isValidateOnMigrate
public boolean isValidateOnMigrate() -
setValidateOnMigrate
public void setValidateOnMigrate(boolean validateOnMigrate) -
getScriptPlaceholderPrefix
-
setScriptPlaceholderPrefix
-
getScriptPlaceholderSuffix
-
setScriptPlaceholderSuffix
-
isExecuteInTransaction
public boolean isExecuteInTransaction() -
setExecuteInTransaction
public void setExecuteInTransaction(boolean executeInTransaction) -
getLoggers
-
setLoggers
-
getBatch
-
setBatch
-
getDryRunOutput
-
setDryRunOutput
-
getErrorOverrides
-
setErrorOverrides
-
getLicenseKey
-
setLicenseKey
-
getOracleSqlplus
-
setOracleSqlplus
-
getOracleSqlplusWarn
-
setOracleSqlplusWarn
-
getOracleWalletLocation
-
setOracleWalletLocation
-
getStream
-
setStream
-
getUndoSqlMigrationPrefix
-
setUndoSqlMigrationPrefix
-
getCherryPick
-
setCherryPick
-
getJdbcProperties
-
setJdbcProperties
-
getKerberosConfigFile
-
setKerberosConfigFile
-
getOracleKerberosCacheFile
-
setOracleKerberosCacheFile
-
getOutputQueryResults
-
setOutputQueryResults
-
getSqlServerKerberosLoginFile
-
setSqlServerKerberosLoginFile
-
getSkipExecutingMigrations
-
setSkipExecutingMigrations
-
getIgnoreMigrationPatterns
-
setIgnoreMigrationPatterns
-
getDetectEncoding
-
setDetectEncoding
-