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 Integer 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)
    • isIgnoreMissingMigrations

      @Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnoreMissingMigrations()
      Deprecated.
    • setIgnoreMissingMigrations

      @Deprecated public void setIgnoreMissingMigrations(boolean ignoreMissingMigrations)
      Deprecated.
    • isIgnoreIgnoredMigrations

      @Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnoreIgnoredMigrations()
      Deprecated.
    • setIgnoreIgnoredMigrations

      @Deprecated public void setIgnoreIgnoredMigrations(boolean ignoreIgnoredMigrations)
      Deprecated.
    • isIgnorePendingMigrations

      @Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnorePendingMigrations()
      Deprecated.
    • setIgnorePendingMigrations

      @Deprecated public void setIgnorePendingMigrations(boolean ignorePendingMigrations)
      Deprecated.
    • isIgnoreFutureMigrations

      @Deprecated @DeprecatedConfigurationProperty(replacement="spring.flyway.ignore-migration-patterns") public boolean isIgnoreFutureMigrations()
      Deprecated.
    • setIgnoreFutureMigrations

      @Deprecated public void setIgnoreFutureMigrations(boolean ignoreFutureMigrations)
      Deprecated.
    • 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)
    • 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)
    • getOracleKerberosConfigFile

      @DeprecatedConfigurationProperty(replacement="spring.flyway.kerberos-config-file") @Deprecated public String getOracleKerberosConfigFile()
      Deprecated.
    • setOracleKerberosConfigFile

      @Deprecated public void setOracleKerberosConfigFile(String oracleKerberosConfigFile)
      Deprecated.
    • 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)
    • getBaselineMigrationPrefix

      public String getBaselineMigrationPrefix()
    • setBaselineMigrationPrefix

      public void setBaselineMigrationPrefix(String baselineMigrationPrefix)
    • getScriptPlaceholderPrefix

      public String getScriptPlaceholderPrefix()
    • setScriptPlaceholderPrefix

      public void setScriptPlaceholderPrefix(String scriptPlaceholderPrefix)
    • getScriptPlaceholderSuffix

      public String getScriptPlaceholderSuffix()
    • setScriptPlaceholderSuffix

      public void setScriptPlaceholderSuffix(String scriptPlaceholderSuffix)