public static enum BridgeStpLink.BridgeDot1dStpPortState extends Enum<BridgeStpLink.BridgeDot1dStpPortState>
Enum Constant and Description |
---|
DOT1D_STP_PORT_STATUS_BLOCKING |
DOT1D_STP_PORT_STATUS_BROKEN |
DOT1D_STP_PORT_STATUS_DISABLED |
DOT1D_STP_PORT_STATUS_FORWARDING |
DOT1D_STP_PORT_STATUS_LEARNING |
DOT1D_STP_PORT_STATUS_LISTENING |
Modifier and Type | Method and Description |
---|---|
static BridgeStpLink.BridgeDot1dStpPortState |
get(Integer code) |
static String |
getTypeString(Integer code) |
Integer |
getValue() |
static BridgeStpLink.BridgeDot1dStpPortState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BridgeStpLink.BridgeDot1dStpPortState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_DISABLED
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_BLOCKING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_LISTENING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_LEARNING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_FORWARDING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_BROKEN
public static BridgeStpLink.BridgeDot1dStpPortState[] values()
for (BridgeStpLink.BridgeDot1dStpPortState c : BridgeStpLink.BridgeDot1dStpPortState.values()) System.out.println(c);
public static BridgeStpLink.BridgeDot1dStpPortState 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 Integer getValue()
public static BridgeStpLink.BridgeDot1dStpPortState get(Integer code)
Copyright © 2021. All rights reserved.