public static enum LabelSet.Action extends Enum<LabelSet.Action> implements org.opendaylight.yangtools.yang.binding.Enumeration
| Enum Constant and Description |
|---|
ExclusiveList |
ExclusiveRange |
InclusiveList |
InclusiveRange |
| Modifier and Type | Method and Description |
|---|---|
static Optional<LabelSet.Action> |
forName(String name)
Return the enumeration member whose
getName() matches specified value. |
static LabelSet.Action |
forValue(int intValue)
Return the enumeration member whose
getIntValue() matches specified value. |
int |
getIntValue() |
String |
getName() |
static LabelSet.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelSet.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelSet.Action InclusiveList
public static final LabelSet.Action ExclusiveList
public static final LabelSet.Action InclusiveRange
public static final LabelSet.Action ExclusiveRange
public static LabelSet.Action[] values()
for (LabelSet.Action c : LabelSet.Action.values()) System.out.println(c);
public static LabelSet.Action 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()
getName in interface org.opendaylight.yangtools.yang.binding.Enumerationpublic int getIntValue()
getIntValue in interface org.opendaylight.yangtools.yang.binding.Enumerationpublic static Optional<LabelSet.Action> forName(String name)
getName() matches specified value.name - YANG assigned nameNullPointerException - if name is nullpublic static LabelSet.Action forValue(int intValue)
getIntValue() matches specified value.intValue - integer valueCopyright © 2020 OpenDaylight. All rights reserved.