Interface Configuration


  • public interface Configuration
    • 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()
      • 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()
      • 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() instead
        Returns 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()