Enum RouteMirroringPacket.Element.Type
- java.lang.Object
-
- java.lang.Enum<RouteMirroringPacket.Element.Type>
-
- org.opennms.netmgt.telemetry.protocols.bmp.parser.proto.bmp.packets.RouteMirroringPacket.Element.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<RouteMirroringPacket.Element.Type>
,TLV.Type<Mirroring,PeerFlags>
- Enclosing class:
- RouteMirroringPacket.Element
public static enum RouteMirroringPacket.Element.Type extends Enum<RouteMirroringPacket.Element.Type> implements TLV.Type<Mirroring,PeerFlags>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BGP_MESSAGE
INFORMATION
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RouteMirroringPacket.Element.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static RouteMirroringPacket.Element.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BGP_MESSAGE
public static final RouteMirroringPacket.Element.Type BGP_MESSAGE
-
INFORMATION
public static final RouteMirroringPacket.Element.Type INFORMATION
-
UNKNOWN
public static final RouteMirroringPacket.Element.Type UNKNOWN
-
-
Method Detail
-
values
public static RouteMirroringPacket.Element.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 (RouteMirroringPacket.Element.Type c : RouteMirroringPacket.Element.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 RouteMirroringPacket.Element.Type 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
-
-