@ConfigurationProperties(prefix="spring.flyway") public class FlywayProperties extends Object
Constructor and Description |
---|
FlywayProperties() |
public boolean isEnabled()
public void setEnabled(boolean enabled)
@Deprecated @DeprecatedConfigurationProperty(reason="Locations can no longer be checked accurately due to changes in Flyway\'s location support.") public boolean isCheckLocation()
@Deprecated public void setCheckLocation(boolean checkLocation)
public boolean isFailOnMissingLocations()
public void setFailOnMissingLocations(boolean failOnMissingLocations)
public Charset getEncoding()
public void setEncoding(Charset encoding)
public int getConnectRetries()
public void setConnectRetries(int connectRetries)
public Duration getConnectRetriesInterval()
public void setConnectRetriesInterval(Duration connectRetriesInterval)
public Integer getLockRetryCount()
public void setLockRetryCount(Integer lockRetryCount)
public String getDefaultSchema()
public void setDefaultSchema(String defaultSchema)
public boolean isCreateSchemas()
public void setCreateSchemas(boolean createSchemas)
public String getTable()
public void setTable(String table)
public String getTablespace()
public void setTablespace(String tablespace)
public String getBaselineDescription()
public void setBaselineDescription(String baselineDescription)
public String getBaselineVersion()
public void setBaselineVersion(String baselineVersion)
public String getInstalledBy()
public void setInstalledBy(String installedBy)
public String getPlaceholderPrefix()
public void setPlaceholderPrefix(String placeholderPrefix)
public String getPlaceholderSuffix()
public void setPlaceholderSuffix(String placeholderSuffix)
public boolean isPlaceholderReplacement()
public void setPlaceholderReplacement(boolean placeholderReplacement)
public String getSqlMigrationPrefix()
public void setSqlMigrationPrefix(String sqlMigrationPrefix)
public String getSqlMigrationSeparator()
public void setSqlMigrationSeparator(String sqlMigrationSeparator)
public String getRepeatableSqlMigrationPrefix()
public void setRepeatableSqlMigrationPrefix(String repeatableSqlMigrationPrefix)
public String getTarget()
public void setTarget(String target)
@Deprecated public boolean isCreateDataSource()
true
if a new datasource is createdpublic String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public String getDriverClassName()
public void setDriverClassName(String driverClassName)
public String getUrl()
public void setUrl(String url)
public boolean isBaselineOnMigrate()
public void setBaselineOnMigrate(boolean baselineOnMigrate)
public boolean isCleanDisabled()
public void setCleanDisabled(boolean cleanDisabled)
public boolean isCleanOnValidationError()
public void setCleanOnValidationError(boolean cleanOnValidationError)
public boolean isGroup()
public void setGroup(boolean group)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnoreMissingMigrations()
@Deprecated public void setIgnoreMissingMigrations(boolean ignoreMissingMigrations)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnoreIgnoredMigrations()
@Deprecated public void setIgnoreIgnoredMigrations(boolean ignoreIgnoredMigrations)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnorePendingMigrations()
@Deprecated public void setIgnorePendingMigrations(boolean ignorePendingMigrations)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnoreFutureMigrations()
@Deprecated public void setIgnoreFutureMigrations(boolean ignoreFutureMigrations)
public boolean isMixed()
public void setMixed(boolean mixed)
public boolean isOutOfOrder()
public void setOutOfOrder(boolean outOfOrder)
public boolean isSkipDefaultCallbacks()
public void setSkipDefaultCallbacks(boolean skipDefaultCallbacks)
public boolean isSkipDefaultResolvers()
public void setSkipDefaultResolvers(boolean skipDefaultResolvers)
public boolean isValidateMigrationNaming()
public void setValidateMigrationNaming(boolean validateMigrationNaming)
public boolean isValidateOnMigrate()
public void setValidateOnMigrate(boolean validateOnMigrate)
public Boolean getBatch()
public void setBatch(Boolean batch)
public File getDryRunOutput()
public void setDryRunOutput(File dryRunOutput)
public String[] getErrorOverrides()
public void setErrorOverrides(String[] errorOverrides)
public String getLicenseKey()
public void setLicenseKey(String licenseKey)
public Boolean getOracleSqlplus()
public void setOracleSqlplus(Boolean oracleSqlplus)
public Boolean getOracleSqlplusWarn()
public void setOracleSqlplusWarn(Boolean oracleSqlplusWarn)
public String getOracleWalletLocation()
public void setOracleWalletLocation(String oracleWalletLocation)
public Boolean getStream()
public void setStream(Boolean stream)
public String getUndoSqlMigrationPrefix()
public void setUndoSqlMigrationPrefix(String undoSqlMigrationPrefix)
public String[] getCherryPick()
public void setCherryPick(String[] cherryPick)
public String getKerberosConfigFile()
public void setKerberosConfigFile(String kerberosConfigFile)
public String getOracleKerberosCacheFile()
public void setOracleKerberosCacheFile(String oracleKerberosCacheFile)
@DeprecatedConfigurationProperty(replacement="spring.flyway.kerberos-config-file") @Deprecated public String getOracleKerberosConfigFile()
@Deprecated public void setOracleKerberosConfigFile(String oracleKerberosConfigFile)
public Boolean getOutputQueryResults()
public void setOutputQueryResults(Boolean outputQueryResults)
public String getSqlServerKerberosLoginFile()
public void setSqlServerKerberosLoginFile(String sqlServerKerberosLoginFile)
public Boolean getSkipExecutingMigrations()
public void setSkipExecutingMigrations(Boolean skipExecutingMigrations)
public void setIgnoreMigrationPatterns(List<String> ignoreMigrationPatterns)
public Boolean getDetectEncoding()
public void setDetectEncoding(Boolean detectEncoding)
public String getBaselineMigrationPrefix()
public void setBaselineMigrationPrefix(String baselineMigrationPrefix)
public String getScriptPlaceholderPrefix()
public void setScriptPlaceholderPrefix(String scriptPlaceholderPrefix)
public String getScriptPlaceholderSuffix()
public void setScriptPlaceholderSuffix(String scriptPlaceholderSuffix)