Class FlywayProperties

java.lang.Object
org.springframework.boot.autoconfigure.flyway.FlywayProperties

@ConfigurationProperties(prefix="spring.flyway") public class FlywayProperties extends Object
Configuration properties for Flyway database migrations.
Since:
1.1.0
Author:
Dave Syer, EddĂș MelĂ©ndez, Stephane Nicoll, Chris Bono
  • 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

      public List<String> getLocations()
    • setLocations

      public void setLocations(List<String> locations)
    • getEncoding

      public Charset getEncoding()
    • setEncoding

      public void setEncoding(Charset encoding)
    • getConnectRetries

      public int getConnectRetries()
    • setConnectRetries

      public void setConnectRetries(int connectRetries)
    • getConnectRetriesInterval

      public Duration getConnectRetriesInterval()
    • setConnectRetriesInterval

      public void setConnectRetriesInterval(Duration connectRetriesInterval)
    • getLockRetryCount

      public int getLockRetryCount()
    • setLockRetryCount

      public void setLockRetryCount(Integer lockRetryCount)
    • getDefaultSchema

      public String getDefaultSchema()
    • setDefaultSchema

      public void setDefaultSchema(String defaultSchema)
    • getSchemas

      public List<String> getSchemas()
    • setSchemas

      public void setSchemas(List<String> schemas)
    • isCreateSchemas

      public boolean isCreateSchemas()
    • setCreateSchemas

      public void setCreateSchemas(boolean createSchemas)
    • getTable

      public String getTable()
    • setTable

      public void setTable(String table)
    • getTablespace

      public String getTablespace()
    • setTablespace

      public void setTablespace(String tablespace)
    • getBaselineDescription

      public String getBaselineDescription()
    • setBaselineDescription

      public void setBaselineDescription(String baselineDescription)
    • getBaselineVersion

      public String getBaselineVersion()
    • setBaselineVersion

      public void setBaselineVersion(String baselineVersion)
    • getInstalledBy

      public String getInstalledBy()
    • setInstalledBy

      public void setInstalledBy(String installedBy)
    • getPlaceholders

      public Map<String,String> getPlaceholders()
    • setPlaceholders

      public void setPlaceholders(Map<String,String> placeholders)
    • getPlaceholderPrefix

      public String getPlaceholderPrefix()
    • setPlaceholderPrefix

      public void setPlaceholderPrefix(String placeholderPrefix)
    • getPlaceholderSuffix

      public String getPlaceholderSuffix()
    • setPlaceholderSuffix

      public void setPlaceholderSuffix(String placeholderSuffix)
    • getPlaceholderSeparator

      public String getPlaceholderSeparator()
    • setPlaceholderSeparator

      public void setPlaceholderSeparator(String placeholderSeparator)
    • isPlaceholderReplacement

      public boolean isPlaceholderReplacement()
    • setPlaceholderReplacement

      public void setPlaceholderReplacement(boolean placeholderReplacement)
    • getSqlMigrationPrefix

      public String getSqlMigrationPrefix()
    • setSqlMigrationPrefix

      public void setSqlMigrationPrefix(String sqlMigrationPrefix)
    • getSqlMigrationSuffixes

      public List<String> getSqlMigrationSuffixes()
    • setSqlMigrationSuffixes

      public void setSqlMigrationSuffixes(List<String> sqlMigrationSuffixes)
    • getSqlMigrationSeparator

      public String getSqlMigrationSeparator()
    • setSqlMigrationSeparator

      public void setSqlMigrationSeparator(String sqlMigrationSeparator)
    • getRepeatableSqlMigrationPrefix

      public String getRepeatableSqlMigrationPrefix()
    • setRepeatableSqlMigrationPrefix

      public void setRepeatableSqlMigrationPrefix(String repeatableSqlMigrationPrefix)
    • getTarget

      public String getTarget()
    • setTarget

      public void setTarget(String target)
    • getUser

      public String getUser()
    • setUser

      public void setUser(String user)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getDriverClassName

      public String getDriverClassName()
    • setDriverClassName

      public void setDriverClassName(String driverClassName)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getInitSqls

      public List<String> getInitSqls()
    • setInitSqls

      public void setInitSqls(List<String> initSqls)
    • 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

      public String getScriptPlaceholderPrefix()
    • setScriptPlaceholderPrefix

      public void setScriptPlaceholderPrefix(String scriptPlaceholderPrefix)
    • getScriptPlaceholderSuffix

      public String getScriptPlaceholderSuffix()
    • setScriptPlaceholderSuffix

      public void setScriptPlaceholderSuffix(String scriptPlaceholderSuffix)
    • isExecuteInTransaction

      public boolean isExecuteInTransaction()
    • setExecuteInTransaction

      public void setExecuteInTransaction(boolean executeInTransaction)
    • getLoggers

      public String[] getLoggers()
    • setLoggers

      public void setLoggers(String[] loggers)
    • getBatch

      public Boolean getBatch()
    • setBatch

      public void setBatch(Boolean batch)
    • getDryRunOutput

      public File getDryRunOutput()
    • setDryRunOutput

      public void setDryRunOutput(File dryRunOutput)
    • getErrorOverrides

      public String[] getErrorOverrides()
    • setErrorOverrides

      public void setErrorOverrides(String[] errorOverrides)
    • getLicenseKey

      public String getLicenseKey()
    • setLicenseKey

      public void setLicenseKey(String licenseKey)
    • getOracleSqlplus

      public Boolean getOracleSqlplus()
    • setOracleSqlplus

      public void setOracleSqlplus(Boolean oracleSqlplus)
    • getOracleSqlplusWarn

      public Boolean getOracleSqlplusWarn()
    • setOracleSqlplusWarn

      public void setOracleSqlplusWarn(Boolean oracleSqlplusWarn)
    • getOracleWalletLocation

      public String getOracleWalletLocation()
    • setOracleWalletLocation

      public void setOracleWalletLocation(String oracleWalletLocation)
    • getStream

      public Boolean getStream()
    • setStream

      public void setStream(Boolean stream)
    • getUndoSqlMigrationPrefix

      public String getUndoSqlMigrationPrefix()
    • setUndoSqlMigrationPrefix

      public void setUndoSqlMigrationPrefix(String undoSqlMigrationPrefix)
    • getCherryPick

      public String[] getCherryPick()
    • setCherryPick

      public void setCherryPick(String[] cherryPick)
    • getJdbcProperties

      public Map<String,String> getJdbcProperties()
    • setJdbcProperties

      public void setJdbcProperties(Map<String,String> jdbcProperties)
    • getKerberosConfigFile

      public String getKerberosConfigFile()
    • setKerberosConfigFile

      public void setKerberosConfigFile(String kerberosConfigFile)
    • getOracleKerberosCacheFile

      public String getOracleKerberosCacheFile()
    • setOracleKerberosCacheFile

      public void setOracleKerberosCacheFile(String oracleKerberosCacheFile)
    • getOutputQueryResults

      public Boolean getOutputQueryResults()
    • setOutputQueryResults

      public void setOutputQueryResults(Boolean outputQueryResults)
    • getSqlServerKerberosLoginFile

      public String getSqlServerKerberosLoginFile()
    • setSqlServerKerberosLoginFile

      public void setSqlServerKerberosLoginFile(String sqlServerKerberosLoginFile)
    • getSkipExecutingMigrations

      public Boolean getSkipExecutingMigrations()
    • setSkipExecutingMigrations

      public void setSkipExecutingMigrations(Boolean skipExecutingMigrations)
    • getIgnoreMigrationPatterns

      public List<String> getIgnoreMigrationPatterns()
    • setIgnoreMigrationPatterns

      public void setIgnoreMigrationPatterns(List<String> ignoreMigrationPatterns)
    • getDetectEncoding

      public Boolean getDetectEncoding()
    • setDetectEncoding

      public void setDetectEncoding(Boolean detectEncoding)