public interface GeocoderServiceManager
GeocoderServices.| Modifier and Type | Method and Description |
|---|---|
GeocoderService |
getActiveGeocoderService()
Returns the current active
GeocoderService or null if none is active. |
GeocoderServiceManagerConfiguration |
getConfiguration()
Returns the configuration for the service manager
|
GeocoderService |
getGeocoderService(String geocoderId)
Returns the
GeocoderService identified by the provided geocoderId |
List<GeocoderService> |
getGeocoderServices()
Returns all registered
GeocoderService. |
void |
resetConfiguration()
Deletes all configuration files related to the geocoder service.
|
void |
updateConfiguration(GeocoderServiceManagerConfiguration configuration)
Updates the configuration for the service manager
|
void |
updateGeocoderConfiguration(String geocoderId,
Map<String,Object> newProperties)
Updates the configuration for the
GeocoderService with the provided id. |
void resetConfiguration()
throws IOException
IOException - when deleting the configuration files failed.void updateConfiguration(GeocoderServiceManagerConfiguration configuration) throws IOException
IOException - when writing the configuration file failedGeocoderServiceManagerConfiguration getConfiguration()
GeocoderService getActiveGeocoderService()
GeocoderService or null if none is active.GeocoderService or null if none is active.void updateGeocoderConfiguration(String geocoderId, Map<String,Object> newProperties) throws IOException, NoSuchElementException
GeocoderService with the provided id.geocoderId - The id of the GeocoderService to updatenewProperties - The new configuration of the GeocoderServiceIOException - in case the configuration could not be persistedNoSuchElementException - if a GeocoderService witht he provided geocoderId does not exist.List<GeocoderService> getGeocoderServices()
GeocoderService. None of those may be activeGeocoderService.GeocoderService getGeocoderService(String geocoderId) throws NoSuchElementException
GeocoderService identified by the provided geocoderIdgeocoderId - The id of the GeocoderService to return.GeocoderService identified by the provided geocoderIdNoSuchElementException - if the GeocoderService with the provided geocoderId does not exist.Copyright © 2022. All rights reserved.