public static enum Interface.OperStatus extends Enum<Interface.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 Interface.OperStatus |
forValue(int valueArg) |
int |
getIntValue() |
static Interface.OperStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interface.OperStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interface.OperStatus Up
public static final Interface.OperStatus Down
public static final Interface.OperStatus Testing
public static final Interface.OperStatus Unknown
public static final Interface.OperStatus Dormant
public static final Interface.OperStatus NotPresent
public static final Interface.OperStatus LowerLayerDown
public static Interface.OperStatus[] values()
for (Interface.OperStatus c : Interface.OperStatus.values()) System.out.println(c);
public static Interface.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 int getIntValue()
public static Interface.OperStatus forValue(int valueArg)
valueArg
- Copyright © 2017 OpenDaylight. All rights reserved.