Package org.opennms.netmgt.config.geoip
Enum GeoIpConfig.Resolve
- java.lang.Object
-
- java.lang.Enum<GeoIpConfig.Resolve>
-
- org.opennms.netmgt.config.geoip.GeoIpConfig.Resolve
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeoIpConfig.Resolve>
- Enclosing class:
- GeoIpConfig
public static enum GeoIpConfig.Resolve extends java.lang.Enum<GeoIpConfig.Resolve>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRIMARY
PUBLIC
PUBLIC_IPV4
PUBLIC_IPV6
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoIpConfig.Resolve
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeoIpConfig.Resolve[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIMARY
public static final GeoIpConfig.Resolve PRIMARY
-
PUBLIC
public static final GeoIpConfig.Resolve PUBLIC
-
PUBLIC_IPV4
public static final GeoIpConfig.Resolve PUBLIC_IPV4
-
PUBLIC_IPV6
public static final GeoIpConfig.Resolve PUBLIC_IPV6
-
-
Method Detail
-
values
public static GeoIpConfig.Resolve[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeoIpConfig.Resolve c : GeoIpConfig.Resolve.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeoIpConfig.Resolve valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-