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