Interface IApplicationConfiguration
- All Superinterfaces:
IApplicationServerConfiguration,ISavableConfigurationAspect,ISslServerConfiguration,IStorableConfiguration<IApplicationServerConfiguration>
Application Configuration
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck SSL Server Identity@NotNull String[]Get configuration access pattern@NotNull StringGet the Content Management System class@NotNull StringGet the hibernate configuration file name to be used in non-embedded mode@NotNull FileGet the job repository filebooleanApplication is running in server mode.booleanChecks if this application is running in docker mode.booleanUse concurrent modebooleanShould an embedded database be usedbooleanIf embedded database is active, use an in-memory versionbooleanUse XLIFF 2 FormatMethods inherited from interface com.idmedia.translationstudio.api.configuration.IApplicationServerConfiguration
getMaxZipFileSize, getResourceLeakDetectorLevel, getServerPort, getServicePortMethods inherited from interface com.idmedia.translationstudio.api.configuration.ISavableConfigurationAspect
saveToDiskMethods inherited from interface com.idmedia.translationstudio.api.configuration.ISslServerConfiguration
getCertificatePassword, getKeystoreFile, getKeystorePassword, getKeystoreType, getLocalCertificateFile, getLocalKeyFile, getSslAlgorithm, getSslProtocolMethods inherited from interface com.idmedia.translationstudio.api.configuration.IStorableConfiguration
createClone, isEmpty, saveToDisk, toXml
-
Method Details
-
useEmbeddedDatabase
boolean useEmbeddedDatabase()Should an embedded database be used- Returns:
-
useConcurrentCoreModules
boolean useConcurrentCoreModules()Use concurrent mode- Returns:
-
getHibernateConfigurationFile
Get the hibernate configuration file name to be used in non-embedded mode- Returns:
-
useEmbeddedInMemory
boolean useEmbeddedInMemory()If embedded database is active, use an in-memory version- Returns:
-
getJobRepository
Get the job repository file- Returns:
-
isServerMode
boolean isServerMode()Application is running in server mode. This is only important for the REST API, because if the application is running in server mode, a shutdown is not possible via the api- Returns:
-
runsAsDockerContainer
boolean runsAsDockerContainer()Checks if this application is running in docker mode. This will only affect the Database. It will not use the embedded H2 Database but overwrite the respective configuraiton and always link to the hibernate configuration file.- Returns:
-
checkServerIdentity
boolean checkServerIdentity()Check SSL Server Identity- Returns:
-
getContentManagementSystemClass
Get the Content Management System class- Returns:
-
getConfigurationAcccess
Get configuration access pattern- Returns:
- two dimensional array
-
useXliff2
boolean useXliff2()Use XLIFF 2 Format- Returns:
-