Enum LLDPTLV.TLVType
- java.lang.Object
-
- java.lang.Enum<LLDPTLV.TLVType>
-
- org.opendaylight.openflowplugin.libraries.liblldp.LLDPTLV.TLVType
-
- All Implemented Interfaces:
Serializable
,Comparable<LLDPTLV.TLVType>
- Enclosing class:
- LLDPTLV
public static enum LLDPTLV.TLVType extends Enum<LLDPTLV.TLVType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ChassisID
Custom
ManagementAddress
PortDesc
PortID
SystemCapabilities
SystemDesc
SystemName
TTL
Unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getValue()
static LLDPTLV.TLVType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LLDPTLV.TLVType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final LLDPTLV.TLVType Unknown
-
ChassisID
public static final LLDPTLV.TLVType ChassisID
-
PortID
public static final LLDPTLV.TLVType PortID
-
TTL
public static final LLDPTLV.TLVType TTL
-
PortDesc
public static final LLDPTLV.TLVType PortDesc
-
SystemName
public static final LLDPTLV.TLVType SystemName
-
SystemDesc
public static final LLDPTLV.TLVType SystemDesc
-
SystemCapabilities
public static final LLDPTLV.TLVType SystemCapabilities
-
ManagementAddress
public static final LLDPTLV.TLVType ManagementAddress
-
Custom
public static final LLDPTLV.TLVType Custom
-
-
Method Detail
-
values
public static LLDPTLV.TLVType[] 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 (LLDPTLV.TLVType c : LLDPTLV.TLVType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LLDPTLV.TLVType 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
-
getValue
public byte getValue()
-
-