public static enum InterfaceInfo.InterfaceOpState extends Enum<InterfaceInfo.InterfaceOpState>
Modifier and Type | Method and Description |
---|---|
static InterfaceInfo.InterfaceOpState |
fromModel(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus modelStatus) |
static InterfaceInfo.InterfaceOpState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterfaceInfo.InterfaceOpState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterfaceInfo.InterfaceOpState UP
public static final InterfaceInfo.InterfaceOpState DOWN
public static final InterfaceInfo.InterfaceOpState UNKNOWN
public static InterfaceInfo.InterfaceOpState[] values()
for (InterfaceInfo.InterfaceOpState c : InterfaceInfo.InterfaceOpState.values()) System.out.println(c);
public static InterfaceInfo.InterfaceOpState 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 static InterfaceInfo.InterfaceOpState fromModel(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus modelStatus)
Copyright © 2019 OpenDaylight. All rights reserved.