Interface Configuration


public interface Configuration
  • Field Details

  • Method Details

    • updateConfiguration

      void updateConfiguration(Map<String,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

      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

      Object getConstantValue(String key)
    • getPublicConstants

      Set<String> getPublicConstants()
    • getScheduledEventExecution

      Configuration.ScheduledEventExecution getScheduledEventExecution()
    • getMyScheduledEvents

      Set<String> getMyScheduledEvents()
    • hasMicroflowConstantConfig

      boolean hasMicroflowConstantConfig(String key)
    • getAdminUserRoleName

      String getAdminUserRoleName()
    • getAdminUserName

      String getAdminUserName()
    • getEnableGuestLogin

      boolean getEnableGuestLogin()
    • getGuestUserRoleName

      String getGuestUserRoleName()
    • enablePersistentSessions

      boolean enablePersistentSessions()
    • getMxClientSystemPath

      File getMxClientSystemPath()
    • getJavaKeyStorePassword

      String getJavaKeyStorePassword()
    • getCACertificates

      List<InputStream> getCACertificates() throws IOException
      Throws:
      IOException
    • getClientCertificates

      List<InputStream> getClientCertificates() throws IOException
      Throws:
      IOException
    • getClientCertificatePasswords

      List<String> getClientCertificatePasswords()
    • getWebServiceCertificates

      @Deprecated Map<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

      String getSessionIdCookieName()
    • getClusterManagerQueryTimeout

      int getClusterManagerQueryTimeout()
      Returns the cluster manager query timeout (in seconds).
      Returns:
      the timeout in seconds
    • isLocalFileSystemCleaningEnabled

      boolean isLocalFileSystemCleaningEnabled()
    • getStorageService

      String getStorageService()