public static enum TrafficProtection.LeafIdentifier extends Enum<TrafficProtection.LeafIdentifier> implements org.onosproject.yang.model.LeafIdentifier
| Enum Constant and Description |
|---|
ENABLED
Represents enabled.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLeafIndex() |
static TrafficProtection.LeafIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficProtection.LeafIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficProtection.LeafIdentifier ENABLED
public static TrafficProtection.LeafIdentifier[] values()
for (TrafficProtection.LeafIdentifier c : TrafficProtection.LeafIdentifier.values()) System.out.println(c);
public static TrafficProtection.LeafIdentifier 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 int getLeafIndex()
Copyright © 2017. All rights reserved.