Class HSQLDBProperties
java.lang.Object
com.broadleafcommerce.autoconfigure.HSQLDBProperties
- Author:
- Jeff Fischer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanExplicitly declare via property whether or not this HSQL database auto configuration should runprotected BooleanWhether or not any database related files stored in the file system are wiped before launch.protected BooleanWhether or not any database related files stored in the file system are wiped before launch.protected StringUsed in conjunction with "clearStateOnPropertyOnly", defines the Spring environment property to check.protected StringUsed in conjunction with "clearStateOnPropertyOnly", defines the value(s) [semicolon delimited] that the "clearStateProperty" should be equal to to satisfy the condition.protected StringThe name of the database to createprotected intThe port on which the database listens for jdbc connections.protected StringThe working directory in the local file system where the database related files will be stored, ending in a trailing slash -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPort()voidsetAutoConfigEnabled(Boolean autoConfigEnabled) voidsetclearState(Boolean clearState) voidsetClearStateOnPropertyOnly(Boolean clearStateOnPropertyOnly) voidsetClearStateProperty(String clearStateProperty) voidsetClearStatePropertyValues(String clearStatePropertyValues) voidvoidsetPort(int port) voidsetWorkingDirectory(String workingDirectory)
-
Field Details
-
autoConfigEnabled
Explicitly declare via property whether or not this HSQL database auto configuration should run -
dbName
The name of the database to create -
workingDirectory
The working directory in the local file system where the database related files will be stored, ending in a trailing slash -
clearState
Whether or not any database related files stored in the file system are wiped before launch. This guarantees a fresh environment. -
clearStateOnPropertyOnly
Whether or not any database related files stored in the file system are wiped before launch. Only true if the "clearStateProperty" and "clearStatePropertyValues" are confirmed. -
clearStateProperty
Used in conjunction with "clearStateOnPropertyOnly", defines the Spring environment property to check. -
clearStatePropertyValues
Used in conjunction with "clearStateOnPropertyOnly", defines the value(s) [semicolon delimited] that the "clearStateProperty" should be equal to to satisfy the condition. Leaving this property empty signifies that any value for the property is accepted. -
port
protected int portThe port on which the database listens for jdbc connections.
-
-
Constructor Details
-
HSQLDBProperties
public HSQLDBProperties()
-
-
Method Details
-
getAutoConfigEnabled
-
setAutoConfigEnabled
-
getDbName
-
setDbName
-
getWorkingDirectory
-
setWorkingDirectory
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getClearState
-
setclearState
-
getClearStateOnPropertyOnly
-
setClearStateOnPropertyOnly
-
getClearStateProperty
-
setClearStateProperty
-
getClearStatePropertyValues
-
setClearStatePropertyValues
-