@ConfigurationProperties(value="demo.database") public class HSQLDBProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoConfigEnabled
Explicitly declare via property whether or not this HSQL database auto configuration should run
|
protected Boolean |
clearState
Whether or not any database related files stored in the file system are wiped before launch.
|
protected Boolean |
clearStateOnPropertyOnly
Whether or not any database related files stored in the file system are wiped before launch.
|
protected String |
clearStateProperty
Used in conjunction with "clearStateOnPropertyOnly", defines the Spring environment property to check.
|
protected String |
clearStatePropertyValues
Used in conjunction with "clearStateOnPropertyOnly", defines the value(s) [semicolon delimited] that the "clearStateProperty" should be equal to to satisfy the condition.
|
protected String |
dbName
The name of the database to create
|
protected int |
port
The port on which the database listens for jdbc connections.
|
protected String |
workingDirectory
The working directory in the local file system where the database related files will be stored, ending in a trailing
slash
|
| Constructor and Description |
|---|
HSQLDBProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAutoConfigEnabled() |
Boolean |
getClearState() |
Boolean |
getClearStateOnPropertyOnly() |
String |
getClearStateProperty() |
String |
getClearStatePropertyValues() |
String |
getDbName() |
int |
getPort() |
String |
getWorkingDirectory() |
void |
setAutoConfigEnabled(Boolean autoConfigEnabled) |
void |
setclearState(Boolean clearState) |
void |
setClearStateOnPropertyOnly(Boolean clearStateOnPropertyOnly) |
void |
setClearStateProperty(String clearStateProperty) |
void |
setClearStatePropertyValues(String clearStatePropertyValues) |
void |
setDbName(String dbName) |
void |
setPort(int port) |
void |
setWorkingDirectory(String workingDirectory) |
protected Boolean autoConfigEnabled
protected String dbName
protected String workingDirectory
protected Boolean clearState
protected Boolean clearStateOnPropertyOnly
protected String clearStateProperty
protected String clearStatePropertyValues
protected int port
public Boolean getAutoConfigEnabled()
public void setAutoConfigEnabled(Boolean autoConfigEnabled)
public String getDbName()
public void setDbName(String dbName)
public String getWorkingDirectory()
public void setWorkingDirectory(String workingDirectory)
public int getPort()
public void setPort(int port)
public Boolean getClearState()
public void setclearState(Boolean clearState)
public Boolean getClearStateOnPropertyOnly()
public void setClearStateOnPropertyOnly(Boolean clearStateOnPropertyOnly)
public String getClearStateProperty()
public void setClearStateProperty(String clearStateProperty)
public String getClearStatePropertyValues()
public void setClearStatePropertyValues(String clearStatePropertyValues)
Copyright © 2018. All rights reserved.