com.spss.psapi.admin

Interface ServerConfiguration



  • public interface ServerConfiguration
    Interface allowing read/write access to the set of configuration options provided by a remote server
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getSetting(java.lang.String settingName)
      get a setting from a the cached server configuration
      void save()
      Reconfigures the assoicated server with the updated configuration settings
      void updateSetting(java.lang.String settingName, java.lang.String updatedValue)
      updates a setting in a cached configuration (note that the update is not flushed to the server)
    • Method Detail

      • getSetting

        java.lang.String getSetting(java.lang.String settingName)
                                    throws ServerAdministrationException
        get a setting from a the cached server configuration
        Parameters:
        settingName - the name of the setting to get
        Returns:
        the value of the setting as a string value
        Throws:
        ServerAdministrationException - if no such setting exists
      • updateSetting

        void updateSetting(java.lang.String settingName,
                         java.lang.String updatedValue)
                           throws ServerAdministrationException
        updates a setting in a cached configuration (note that the update is not flushed to the server)
        Parameters:
        settingName - the name of the setting to update
        updatedValue - the new value of the setting as a string
        Throws:
        ServerAdministrationException - if no such setting exists

(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.