Enum InformationElement.Type
- java.lang.Object
-
- java.lang.Enum<InformationElement.Type>
-
- org.opennms.netmgt.telemetry.protocols.bmp.parser.proto.bmp.InformationElement.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InformationElement.Type>
,TLV.Type<java.lang.String,java.lang.Void>
- Enclosing class:
- InformationElement
public static enum InformationElement.Type extends java.lang.Enum<InformationElement.Type> implements TLV.Type<java.lang.String,java.lang.Void>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_LABEL
BGP_ID
STRING
SYS_DESCR
SYS_NAME
UNKNOWN
VRF_TABLE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InformationElement.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InformationElement.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final InformationElement.Type STRING
-
SYS_DESCR
public static final InformationElement.Type SYS_DESCR
-
SYS_NAME
public static final InformationElement.Type SYS_NAME
-
VRF_TABLE_NAME
public static final InformationElement.Type VRF_TABLE_NAME
-
ADMIN_LABEL
public static final InformationElement.Type ADMIN_LABEL
-
BGP_ID
public static final InformationElement.Type BGP_ID
-
UNKNOWN
public static final InformationElement.Type UNKNOWN
-
-
Method Detail
-
values
public static InformationElement.Type[] 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 (InformationElement.Type c : InformationElement.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InformationElement.Type 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
-
-