public enum NlriType extends Enum<NlriType>
| Enum Constant and Description |
|---|
LINK |
NODE |
PREFIX_IPV4 |
PREFIX_IPV6 |
| Modifier and Type | Method and Description |
|---|---|
byte |
getType()
Returns value as LINK-STATE NLRI type.
|
static NlriType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NlriType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NlriType NODE
public static final NlriType LINK
public static final NlriType PREFIX_IPV4
public static final NlriType PREFIX_IPV6
public static NlriType[] values()
for (NlriType c : NlriType.values()) System.out.println(c);
public static NlriType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getType()