Class JdbcEnvironmentProperties
- java.lang.Object
-
- org.springframework.cloud.config.server.environment.JdbcEnvironmentProperties
-
- All Implemented Interfaces:
EnvironmentRepositoryProperties
@ConfigurationProperties("spring.cloud.config.server.jdbc") public class JdbcEnvironmentProperties extends Object implements EnvironmentRepositoryProperties- Author:
- Dylan Roberts, Thomas Vitale
-
-
Constructor Summary
Constructors Constructor Description JdbcEnvironmentProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultLabel()intgetOrder()StringgetSql()StringgetSqlWithoutProfile()booleanisConfigIncomplete()booleanisEnabled()booleanisFailOnError()voidsetDefaultLabel(String defaultLabel)voidsetEnabled(boolean enabled)voidsetFailOnError(boolean failOnError)voidsetOrder(int order)voidsetSql(String sql)voidsetSqlWithoutProfile(String sqlWithoutProfile)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getOrder
public int getOrder()
-
setOrder
public void setOrder(int order)
- Specified by:
setOrderin interfaceEnvironmentRepositoryProperties
-
getSql
public String getSql()
-
setSql
public void setSql(String sql)
-
getSqlWithoutProfile
public String getSqlWithoutProfile()
-
setSqlWithoutProfile
public void setSqlWithoutProfile(String sqlWithoutProfile)
-
isFailOnError
public boolean isFailOnError()
-
setFailOnError
public void setFailOnError(boolean failOnError)
-
isConfigIncomplete
public boolean isConfigIncomplete()
-
getDefaultLabel
public String getDefaultLabel()
-
setDefaultLabel
public void setDefaultLabel(String defaultLabel)
-
-