Enum LispCanonicalAddressFormatEnum
- java.lang.Object
-
- java.lang.Enum<LispCanonicalAddressFormatEnum>
-
- org.opendaylight.lispflowmapping.lisp.type.LispCanonicalAddressFormatEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LispCanonicalAddressFormatEnum>
public enum LispCanonicalAddressFormatEnum extends java.lang.Enum<LispCanonicalAddressFormatEnum>
The LCAF enum. http://tools.ietf.org/html/draft-ietf-lisp-lcaf-03
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION_DATA
KEY_VALUE
LIST
SEGMENT
SERVICE_PATH
SOURCE_DEST
TRAFFIC_ENGINEERING
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getLispCode()
static LispCanonicalAddressFormatEnum
valueOf(int lispCode)
Returns the enum constant of this type with the specified name.static LispCanonicalAddressFormatEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LispCanonicalAddressFormatEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final LispCanonicalAddressFormatEnum LIST
-
SEGMENT
public static final LispCanonicalAddressFormatEnum SEGMENT
-
APPLICATION_DATA
public static final LispCanonicalAddressFormatEnum APPLICATION_DATA
-
SOURCE_DEST
public static final LispCanonicalAddressFormatEnum SOURCE_DEST
-
TRAFFIC_ENGINEERING
public static final LispCanonicalAddressFormatEnum TRAFFIC_ENGINEERING
-
KEY_VALUE
public static final LispCanonicalAddressFormatEnum KEY_VALUE
-
SERVICE_PATH
public static final LispCanonicalAddressFormatEnum SERVICE_PATH
-
UNKNOWN
public static final LispCanonicalAddressFormatEnum UNKNOWN
-
-
Method Detail
-
values
public static LispCanonicalAddressFormatEnum[] 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 (LispCanonicalAddressFormatEnum c : LispCanonicalAddressFormatEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LispCanonicalAddressFormatEnum 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
-
getLispCode
public byte getLispCode()
-
valueOf
public static LispCanonicalAddressFormatEnum valueOf(int lispCode)
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:
lispCode
- 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
-
-