Package org.opennms.netmgt.enlinkd.model
Enum BridgeStpLink.BridgeDot1dStpPortState
- java.lang.Object
-
- java.lang.Enum<BridgeStpLink.BridgeDot1dStpPortState>
-
- org.opennms.netmgt.enlinkd.model.BridgeStpLink.BridgeDot1dStpPortState
-
- All Implemented Interfaces:
Serializable
,Comparable<BridgeStpLink.BridgeDot1dStpPortState>
- Enclosing class:
- BridgeStpLink
public static enum BridgeStpLink.BridgeDot1dStpPortState extends Enum<BridgeStpLink.BridgeDot1dStpPortState>
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
DOT1D_STP_PORT_STATUS_DISABLED
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_DISABLED
-
DOT1D_STP_PORT_STATUS_BLOCKING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_BLOCKING
-
DOT1D_STP_PORT_STATUS_LISTENING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_LISTENING
-
DOT1D_STP_PORT_STATUS_LEARNING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_LEARNING
-
DOT1D_STP_PORT_STATUS_FORWARDING
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_FORWARDING
-
DOT1D_STP_PORT_STATUS_BROKEN
public static final BridgeStpLink.BridgeDot1dStpPortState DOT1D_STP_PORT_STATUS_BROKEN
-
-
Method Detail
-
values
public static BridgeStpLink.BridgeDot1dStpPortState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BridgeStpLink.BridgeDot1dStpPortState c : BridgeStpLink.BridgeDot1dStpPortState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BridgeStpLink.BridgeDot1dStpPortState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public Integer getValue()
-
get
public static BridgeStpLink.BridgeDot1dStpPortState get(Integer code)
-
-