Package org.opennms.netmgt.config.geoip
Class GeoIpConfig
- java.lang.Object
-
- org.opennms.netmgt.config.geoip.GeoIpConfig
-
public class GeoIpConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoIpConfig.Resolve
-
Constructor Summary
Constructors Constructor Description GeoIpConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDatabase()
java.util.List<Location>
getLocations()
GeoIpConfig.Resolve
getResolve()
int
hashCode()
boolean
isEnabled()
boolean
isOverwrite()
void
setDatabase(java.lang.String database)
void
setEnabled(boolean enabled)
void
setLocations(java.util.List<Location> locations)
void
setOverwrite(boolean overwrite)
void
setResolve(GeoIpConfig.Resolve resolve)
java.lang.String
toString()
-
-
-
Method Detail
-
getLocations
public java.util.List<Location> getLocations()
-
setLocations
public void setLocations(java.util.List<Location> locations)
-
getDatabase
public java.lang.String getDatabase()
-
setDatabase
public void setDatabase(java.lang.String database)
-
getResolve
public GeoIpConfig.Resolve getResolve()
-
setResolve
public void setResolve(GeoIpConfig.Resolve resolve)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
isOverwrite
public boolean isOverwrite()
-
setOverwrite
public void setOverwrite(boolean overwrite)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-