Enum VarbindType
- java.lang.Object
-
- java.lang.Enum<VarbindType>
-
- org.opennms.netmgt.alarmd.northbounder.snmptrap.VarbindType
-
- All Implemented Interfaces:
Serializable
,Comparable<VarbindType>
public enum VarbindType extends Enum<VarbindType>
The Enumeration VarbindType.- Author:
- Alejandro Galue
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_SNMP_COUNTER32
TYPE_SNMP_COUNTER64
TYPE_SNMP_GAUGE32
TYPE_SNMP_INT32
TYPE_SNMP_IPADDRESS
TYPE_SNMP_NULL
TYPE_SNMP_OBJECT_IDENTIFIER
TYPE_SNMP_OCTET_STRING
TYPE_SNMP_OPAQUE
TYPE_SNMP_TIMETICKS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
Gets the Varbind Type as string.static VarbindType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VarbindType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_SNMP_OCTET_STRING
public static final VarbindType TYPE_SNMP_OCTET_STRING
-
TYPE_SNMP_INT32
public static final VarbindType TYPE_SNMP_INT32
-
TYPE_SNMP_NULL
public static final VarbindType TYPE_SNMP_NULL
-
TYPE_SNMP_OBJECT_IDENTIFIER
public static final VarbindType TYPE_SNMP_OBJECT_IDENTIFIER
-
TYPE_SNMP_IPADDRESS
public static final VarbindType TYPE_SNMP_IPADDRESS
-
TYPE_SNMP_TIMETICKS
public static final VarbindType TYPE_SNMP_TIMETICKS
-
TYPE_SNMP_COUNTER32
public static final VarbindType TYPE_SNMP_COUNTER32
-
TYPE_SNMP_GAUGE32
public static final VarbindType TYPE_SNMP_GAUGE32
-
TYPE_SNMP_OPAQUE
public static final VarbindType TYPE_SNMP_OPAQUE
-
TYPE_SNMP_COUNTER64
public static final VarbindType TYPE_SNMP_COUNTER64
-
-
Method Detail
-
values
public static VarbindType[] 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 (VarbindType c : VarbindType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VarbindType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
Gets the Varbind Type as string.- Returns:
- the Varbind Type as string
-
-