Interface GeocoderServiceManager

    • Method Detail

      • resetConfiguration

        void resetConfiguration()
                         throws java.io.IOException
        Deletes all configuration files related to the geocoder service. This results in falling back to the defaults
        Throws:
        java.io.IOException - when deleting the configuration files failed.
      • updateConfiguration

        void updateConfiguration​(GeocoderServiceManagerConfiguration configuration)
                          throws java.io.IOException
        Updates the configuration for the service manager
        Throws:
        java.io.IOException - when writing the configuration file failed
      • getConfiguration

        GeocoderServiceManagerConfiguration getConfiguration()
        Returns the configuration for the service manager
        Returns:
        the configuration for the service manager
      • updateGeocoderConfiguration

        void updateGeocoderConfiguration​(java.lang.String geocoderId,
                                         java.util.Map<java.lang.String,​java.lang.Object> newProperties)
                                  throws java.io.IOException,
                                         java.util.NoSuchElementException
        Updates the configuration for the GeocoderService with the provided id.
        Parameters:
        geocoderId - The id of the GeocoderService to update
        newProperties - The new configuration of the GeocoderService
        Throws:
        java.io.IOException - in case the configuration could not be persisted
        java.util.NoSuchElementException - if a GeocoderService witht he provided geocoderId does not exist.
      • getGeocoderService

        GeocoderService getGeocoderService​(java.lang.String geocoderId)
                                    throws java.util.NoSuchElementException
        Returns the GeocoderService identified by the provided geocoderId
        Parameters:
        geocoderId - The id of the GeocoderService to return.
        Returns:
        the GeocoderService identified by the provided geocoderId
        Throws:
        java.util.NoSuchElementException - if the GeocoderService with the provided geocoderId does not exist.