Package tech.ailef.dbadmin.external
Class DbAdminProperties
java.lang.Object
tech.ailef.dbadmin.external.DbAdminProperties
The 'dbadmin.*' properties that can be set in the properties file
to configure the behaviour of Spring Boot Admin Panel.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the prefix that is prepended to all routes registered by Spring Boot Database Admin.Returns the path of the package that contains your JPA `@Entity` classes to be scanned.boolean
Whether Spring Boot Database Admin is enabledboolean
void
setBaseUrl
(String baseUrl) void
setEnabled
(boolean enabled) void
setModelsPackage
(String modelsPackage) void
setTestMode
(boolean testMode) toMap()
-
Field Details
-
enabled
public boolean enabledWhether Spring Boot Database Admin is enabled.
-
-
Constructor Details
-
DbAdminProperties
public DbAdminProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether Spring Boot Database Admin is enabled- Returns:
-
setEnabled
public void setEnabled(boolean enabled) -
getBaseUrl
Returns the prefix that is prepended to all routes registered by Spring Boot Database Admin.- Returns:
-
setBaseUrl
-
getModelsPackage
Returns the path of the package that contains your JPA `@Entity` classes to be scanned.- Returns:
-
setModelsPackage
-
isTestMode
public boolean isTestMode() -
setTestMode
public void setTestMode(boolean testMode) -
toMap
-