Package com.mendix.core.conf
Interface Configuration
public interface Configuration
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Set default values for uninitialized fields if no custom configuration options were supplied, and feed them back again to updateConfiguration.boolean
Returns the server address that the run-time can be reached at.long
int
Returns the cluster manager query timeout (in seconds).getConstantValue
(String key) long
boolean
Returns the file path separator, which is hardcoded to "/", so that forms can be export on Windows and used on Linux.Returns the path to the resources folder; the default is model/resources.long
int
int
Returns the path to the temporary files folder; the default is data/tmp.Deprecated.As of version 7.1, use HttpConfiguration.getInstance().getServiceClientCertificates() insteadgetXASId()
boolean
boolean
boolean
boolean
boolean
boolean
void
updateConfiguration
(Map<String, Object> config, boolean overwrite)
-
Field Details
-
RUNTIME_VERSION
-
-
Method Details
-
updateConfiguration
-
checkConfig
void checkConfig() throws com.mendix.m2ee.api.AdminExceptionSet default values for uninitialized fields if no custom configuration options were supplied, and feed them back again to updateConfiguration.- Throws:
com.mendix.m2ee.api.AdminException
-
getXASId
String getXASId() -
getBasePath
File getBasePath() -
getFileSeparator
String getFileSeparator()Returns the file path separator, which is hardcoded to "/", so that forms can be export on Windows and used on Linux. -
getNewLine
String getNewLine() -
getPublicWebrootPath
File getPublicWebrootPath() -
getImagePath
File getImagePath() -
getResourcesPath
File getResourcesPath()Returns the path to the resources folder; the default is model/resources. -
getImageUrl
String getImageUrl() -
getTempPath
File getTempPath()Returns the path to the temporary files folder; the default is data/tmp. -
getSessionKeepAliveUpdatesInterval
long getSessionKeepAliveUpdatesInterval() -
getClusterManagerActionInterval
long getClusterManagerActionInterval() -
getSessionTimeout
int getSessionTimeout() -
getSessionValidationTimeout
int getSessionValidationTimeout() -
isKeepAliveEnabled
boolean isKeepAliveEnabled() -
isFileDocumentCachingEnabled
boolean isFileDocumentCachingEnabled() -
getApplicationRootUrl
String getApplicationRootUrl()Returns the server address that the run-time can be reached at. This is used to generate WSDLs. -
getIFrameUploadDomain
String getIFrameUploadDomain() -
getModelerFile
File getModelerFile() -
isInDevelopment
boolean isInDevelopment() -
getRuntimePath
File getRuntimePath() -
getClientQueryTimeout
Integer getClientQueryTimeout() -
getConstantValue
-
getPublicConstants
-
getScheduledEventExecution
Configuration.ScheduledEventExecution getScheduledEventExecution() -
getMyScheduledEvents
-
hasMicroflowConstantConfig
-
getAdminUserRoleName
String getAdminUserRoleName() -
getAdminUserName
String getAdminUserName() -
getEnableGuestLogin
boolean getEnableGuestLogin() -
getGuestUserRoleName
String getGuestUserRoleName() -
enablePersistentSessions
boolean enablePersistentSessions() -
getMxClientSystemPath
File getMxClientSystemPath() -
getJavaKeyStorePassword
String getJavaKeyStorePassword() -
getCACertificates
- Throws:
IOException
-
getClientCertificates
- Throws:
IOException
-
getClientCertificatePasswords
-
getWebServiceCertificates
Deprecated.As of version 7.1, use HttpConfiguration.getInstance().getServiceClientCertificates() insteadReturns the web-service certificates.- Returns:
- the certificates
-
getCSVExportBatchSize
long getCSVExportBatchSize() -
shouldTrackWebServiceUserLastLogin
boolean shouldTrackWebServiceUserLastLogin() -
getSessionIdCookieName
String getSessionIdCookieName() -
getClusterManagerQueryTimeout
int getClusterManagerQueryTimeout()Returns the cluster manager query timeout (in seconds).- Returns:
- the timeout in seconds
-
isLocalFileSystemCleaningEnabled
boolean isLocalFileSystemCleaningEnabled() -
getStorageService
String getStorageService()
-