public static enum UnicastMappingInstruction.UnicastType extends Enum<UnicastMappingInstruction.UnicastType>
| Enum Constant and Description |
|---|
PRIORITY
Signifies the priority value that used in unicast traffic engineering.
|
WEIGHT
Signifies the weight value that used in unicast traffic engineering.
|
| Modifier and Type | Method and Description |
|---|---|
static UnicastMappingInstruction.UnicastType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnicastMappingInstruction.UnicastType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnicastMappingInstruction.UnicastType WEIGHT
public static final UnicastMappingInstruction.UnicastType PRIORITY
public static UnicastMappingInstruction.UnicastType[] values()
for (UnicastMappingInstruction.UnicastType c : UnicastMappingInstruction.UnicastType.values()) System.out.println(c);
public static UnicastMappingInstruction.UnicastType 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 null