public abstract class BaseAppSettings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
H2_IN_MEMORY_URL
In memory H2 DB connection url.
|
Constructor and Description |
---|
BaseAppSettings(Properties properties) |
Modifier and Type | Method and Description |
---|---|
String |
getDatabaseConnection()
Returns parameter value "JDBC connection string".
|
String |
getDbClassName()
Returns parameter value "JDBC connection class".
|
String |
getDBLogin()
Returns login for the database.
|
String |
getDBPassword()
Returns password for the database.
|
DBType |
getDBType()
Returns database type on the basis of JDBC connection string.
|
boolean |
getForceDBInitialize()
Returns parameter value "Force non-empty database initialization".
|
int |
getH2Port()
Returns port of H2 DB.
|
Logger |
getLogger()
Returns logger that can be used to log messages.
|
boolean |
getLogLogins()
Returns parameter value "logging of log-ins and log-outs of users".
|
String |
getScorePath()
Returns parameter value "score.path".
|
Properties |
getSetupProperties()
Returns properties that were used to initialize Celesta.
|
boolean |
getSkipDBUpdate()
Returns parameter value "Skip database update phase".
|
boolean |
isH2ReferentialIntegrity()
Returns flag of support for unique constraint (if it is switched off then
it is possible to insert records without referencing mandatory external records).
|
public static final String H2_IN_MEMORY_URL
public BaseAppSettings(Properties properties)
public DBType getDBType()
public Logger getLogger()
public boolean getSkipDBUpdate()
public boolean getForceDBInitialize()
public boolean getLogLogins()
public String getScorePath()
public String getDbClassName()
public String getDatabaseConnection()
public boolean isH2ReferentialIntegrity()
public String getDBLogin()
public String getDBPassword()
public Properties getSetupProperties()
public int getH2Port()
Copyright © 2022 CURS. All rights reserved.