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