public enum LspFlag extends Enum<LspFlag>
| Enum Constant and Description |
|---|
BidirectionalProtection |
FullRerouting |
ProtectionWithExtraTraffic |
ReroutingWithoutExtraTraffic |
UnidirectionalProtection |
Unprotected |
| Modifier and Type | Method and Description |
|---|---|
static LspFlag |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static LspFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LspFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LspFlag Unprotected
public static final LspFlag FullRerouting
public static final LspFlag ReroutingWithoutExtraTraffic
public static final LspFlag ProtectionWithExtraTraffic
public static final LspFlag UnidirectionalProtection
public static final LspFlag BidirectionalProtection
public static LspFlag[] values()
for (LspFlag c : LspFlag.values()) System.out.println(c);
public static LspFlag 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 String getName()
public int getIntValue()
public static LspFlag forValue(int valueArg)
valueArg - integer valueCopyright © 2018 OpenDaylight. All rights reserved.