Class MapquestConfiguration
- java.lang.Object
-
- org.opennms.features.geocoder.GeocoderConfiguration
-
- org.opennms.features.geocoder.mapquest.MapquestConfiguration
-
public class MapquestConfiguration extends GeocoderConfiguration
-
-
Constructor Summary
Constructors Constructor Description MapquestConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asMap()
static MapquestConfiguration
fromMap(Map<String,Object> properties)
String
getApiKey()
String
getUrlTemplate()
boolean
isUseSystemProxy()
void
setApiKey(String apiKey)
void
setUrlTemplate(String urlTemplate)
void
setUseSystemProxy(boolean useSystemProxy)
void
validate()
-
Methods inherited from class org.opennms.features.geocoder.GeocoderConfiguration
equals, hashCode
-
-
-
-
Method Detail
-
getUrlTemplate
public String getUrlTemplate()
-
getApiKey
public String getApiKey()
-
isUseSystemProxy
public boolean isUseSystemProxy()
-
setUseSystemProxy
public void setUseSystemProxy(boolean useSystemProxy)
-
setUrlTemplate
public void setUrlTemplate(String urlTemplate)
-
setApiKey
public void setApiKey(String apiKey)
-
validate
public void validate() throws GeocoderConfigurationException
- Specified by:
validate
in classGeocoderConfiguration
- Throws:
GeocoderConfigurationException
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMap
in classGeocoderConfiguration
-
fromMap
public static MapquestConfiguration fromMap(Map<String,Object> properties)
-
-