Class HSQLDBProperties

java.lang.Object
com.broadleafcommerce.autoconfigure.HSQLDBProperties

@ConfigurationProperties("demo.database") public class HSQLDBProperties extends Object
Author:
Jeff Fischer
  • Field Details

    • autoConfigEnabled

      protected Boolean autoConfigEnabled
      Explicitly declare via property whether or not this HSQL database auto configuration should run
    • dbName

      protected String dbName
      The name of the database to create
    • workingDirectory

      protected String workingDirectory
      The working directory in the local file system where the database related files will be stored, ending in a trailing slash
    • clearState

      protected Boolean clearState
      Whether or not any database related files stored in the file system are wiped before launch. This guarantees a fresh environment.
    • clearStateOnPropertyOnly

      protected Boolean 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

      protected String clearStateProperty
      Used in conjunction with "clearStateOnPropertyOnly", defines the Spring environment property to check.
    • clearStatePropertyValues

      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. Leaving this property empty signifies that any value for the property is accepted.
    • port

      protected int port
      The port on which the database listens for jdbc connections.
  • Constructor Details

    • HSQLDBProperties

      public HSQLDBProperties()
  • Method Details

    • getAutoConfigEnabled

      public Boolean getAutoConfigEnabled()
    • setAutoConfigEnabled

      public void setAutoConfigEnabled(Boolean autoConfigEnabled)
    • getDbName

      public String getDbName()
    • setDbName

      public void setDbName(String dbName)
    • getWorkingDirectory

      public String getWorkingDirectory()
    • setWorkingDirectory

      public void setWorkingDirectory(String workingDirectory)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • getClearState

      public Boolean getClearState()
    • setclearState

      public void setclearState(Boolean clearState)
    • getClearStateOnPropertyOnly

      public Boolean getClearStateOnPropertyOnly()
    • setClearStateOnPropertyOnly

      public void setClearStateOnPropertyOnly(Boolean clearStateOnPropertyOnly)
    • getClearStateProperty

      public String getClearStateProperty()
    • setClearStateProperty

      public void setClearStateProperty(String clearStateProperty)
    • getClearStatePropertyValues

      public String getClearStatePropertyValues()
    • setClearStatePropertyValues

      public void setClearStatePropertyValues(String clearStatePropertyValues)