Class GoogleConfiguration
- java.lang.Object
-
- org.opennms.features.geocoder.GeocoderConfiguration
-
- org.opennms.features.geocoder.google.GoogleConfiguration
-
public class GoogleConfiguration extends GeocoderConfiguration
-
-
Constructor Summary
Constructors Constructor Description GoogleConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asMap()
static GoogleConfiguration
fromMap(Map<String,Object> properties)
String
getApiKey()
String
getClientId()
String
getSignature()
int
getTimeout()
boolean
isUseEnterpriseCredentials()
boolean
isUseSystemProxy()
void
setApiKey(String apiKey)
void
setClientId(String clientId)
void
setSignature(String signature)
void
setTimeout(int timeout)
void
setUseEnterpriseCredentials(boolean useEnterpriseCredentials)
void
setUseSystemProxy(boolean useSystemProxy)
void
validate()
-
Methods inherited from class org.opennms.features.geocoder.GeocoderConfiguration
equals, hashCode
-
-
-
-
Method Detail
-
getTimeout
public int getTimeout()
-
setTimeout
public void setTimeout(int timeout)
-
isUseEnterpriseCredentials
public boolean isUseEnterpriseCredentials()
-
setUseEnterpriseCredentials
public void setUseEnterpriseCredentials(boolean useEnterpriseCredentials)
-
isUseSystemProxy
public boolean isUseSystemProxy()
-
setUseSystemProxy
public void setUseSystemProxy(boolean useSystemProxy)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getSignature
public String getSignature()
-
setSignature
public void setSignature(String signature)
-
getApiKey
public String getApiKey()
-
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 GoogleConfiguration fromMap(Map<String,Object> properties)
-
-