public static enum InterfaceCommonState.OperStatus extends Enum<InterfaceCommonState.OperStatus>
Enum Constant and Description |
---|
DORMANT
Waiting for some external event.
|
DOWN
The interface does not pass any packets.
|
LOWERLAYERDOWN
Down due to state of lower-layer interface(s).
|
NOTPRESENT
Some component (typically hardware) is missing.
|
TESTING
In some test mode.
|
UNKNOWN
Status cannot be determined for some reason.
|
UP
Ready to pass packets.
|
Modifier and Type | Method and Description |
---|---|
static InterfaceCommonState.OperStatus |
forValue(int valueArg) |
int |
getIntValue() |
String |
getName()
Returns the name of the enumeration item as it is specified in the input yang.
|
static InterfaceCommonState.OperStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterfaceCommonState.OperStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterfaceCommonState.OperStatus UP
public static final InterfaceCommonState.OperStatus DOWN
public static final InterfaceCommonState.OperStatus TESTING
public static final InterfaceCommonState.OperStatus UNKNOWN
public static final InterfaceCommonState.OperStatus DORMANT
public static final InterfaceCommonState.OperStatus NOTPRESENT
public static final InterfaceCommonState.OperStatus LOWERLAYERDOWN
public static InterfaceCommonState.OperStatus[] values()
for (InterfaceCommonState.OperStatus c : InterfaceCommonState.OperStatus.values()) System.out.println(c);
public static InterfaceCommonState.OperStatus 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 InterfaceCommonState.OperStatus forValue(int valueArg)
valueArg
- integer valueCopyright © 2018 OpenDaylight. All rights reserved.