public interface StartupProperties
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PROTOCOL_SEPARATOR
The default protocol separator for jdbc url if no separator is configured
|
Modifier and Type | Method and Description |
---|---|
File |
getCacheRootDirectory()
Returns the root directory for caching data of the running instance.
|
File |
getConfigurationDirectory()
Returns the configuration directory of the running instance.
|
String |
getCoreProperty(CoreConfigurationPropertyConstant property) |
String |
getDatabaseDriverClassName()
Returns the driver class name.
|
String |
getDatabaseHost()
The name the database or null if not set.
|
String |
getDatabaseName()
The name the database or null if not set.
|
Integer |
getDatabasePort()
The port the database is listening on or null if not set or not required.
|
String |
getDatabaseProtocol()
The protocol of the database connection or null if not set.
|
String |
getDatabaseProtocolSeparator()
The protocol separator of the database connection or null if not set.
|
String |
getDatabaseSchemaSeparator()
The schema separator of the database connection or the default if not set.
|
String |
getDatabaseUrl()
Returns the JDBC URL to connect to the database or null if not all required properties are
set.
|
String |
getDatabaseUserName()
Returns the user name of the user that accesses the database or null if not set.
|
String |
getDatabaseUserPassword()
Returns the password of the user that accesses the database or null if not set.
|
File |
getDataDirectory()
Returns the directory where Communote stores its data.
|
String |
getHibernateDialect()
Returns the full qualified class name of the Hibernate dialect class.
|
String |
getInstanceName()
Returns the name of the running instance.
|
KeyStore |
getKeyStore()
Return the key store containing secure keys (dont conflict it with the trust store!)
|
File |
getPluginDir()
Returns the plug in directory
|
String |
getServerId()
Returns the server ID of this installation.
|
KeyStore |
getTrustStore() |
boolean |
isFulltextSearch() |
boolean |
isInstallationDone()
Whether the installation is done.
|
void |
setCertificate(String alias,
Certificate certificate) |
static final String DEFAULT_PROTOCOL_SEPARATOR
File getCacheRootDirectory()
File getConfigurationDirectory()
String getCoreProperty(CoreConfigurationPropertyConstant property)
property
- The property.String getDatabaseDriverClassName()
String getDatabaseHost()
String getDatabaseName()
Integer getDatabasePort()
String getDatabaseProtocol()
String getDatabaseProtocolSeparator()
String getDatabaseSchemaSeparator()
String getDatabaseUrl()
String getDatabaseUserName()
String getDatabaseUserPassword()
File getDataDirectory()
String getHibernateDialect()
String getInstanceName()
KeyStore getKeyStore()
File getPluginDir()
String getServerId()
KeyStore getTrustStore()
boolean isFulltextSearch()
boolean isInstallationDone()
void setCertificate(String alias, Certificate certificate) throws KeyStoreException
alias
- Alias of the certificate.certificate
- The new certificate. If null, the certificate will be removed.KeyStoreException
- Exception.Copyright © 2019 Communote team. All rights reserved.