Enum TerminationPacket.Element.Type
- java.lang.Object
-
- java.lang.Enum<TerminationPacket.Element.Type>
-
- org.opennms.netmgt.telemetry.protocols.bmp.parser.proto.bmp.packets.TerminationPacket.Element.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TerminationPacket.Element.Type>
,TLV.Type<TerminationPacket.Information,java.lang.Void>
- Enclosing class:
- TerminationPacket.Element
public static enum TerminationPacket.Element.Type extends java.lang.Enum<TerminationPacket.Element.Type> implements TLV.Type<TerminationPacket.Information,java.lang.Void>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TerminationPacket.Element.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TerminationPacket.Element.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 TerminationPacket.Element.Type STRING
-
REASON
public static final TerminationPacket.Element.Type REASON
-
UNKNOWN
public static final TerminationPacket.Element.Type UNKNOWN
-
-
Method Detail
-
values
public static TerminationPacket.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 (TerminationPacket.Element.Type c : TerminationPacket.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 TerminationPacket.Element.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
-
-