@Embeddable public static class OnmsStpInterface.StpPortStatus extends Object implements Comparable<OnmsStpInterface.StpPortStatus>, Serializable
Modifier and Type | Field and Description |
---|---|
static OnmsStpInterface.StpPortStatus |
BLOCKING |
static OnmsStpInterface.StpPortStatus |
BROKEN |
static OnmsStpInterface.StpPortStatus |
DISABLED |
static OnmsStpInterface.StpPortStatus |
FORWARDING |
static OnmsStpInterface.StpPortStatus |
LEARNING |
static OnmsStpInterface.StpPortStatus |
LISTENING |
static int |
STP_PORT_STATUS_BLOCKING |
static int |
STP_PORT_STATUS_BROKEN |
static int |
STP_PORT_STATUS_DISABLED |
static int |
STP_PORT_STATUS_FORWARDING |
static int |
STP_PORT_STATUS_LEARNING |
static int |
STP_PORT_STATUS_LISTENING |
static int |
STP_PORT_STATUS_UNKNOWN |
static OnmsStpInterface.StpPortStatus |
UNKNOWN |
Constructor and Description |
---|
StpPortStatus(Integer stpPortStatus) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OnmsStpInterface.StpPortStatus o) |
boolean |
equals(Object o) |
static OnmsStpInterface.StpPortStatus |
get(Integer code) |
Integer |
getIntCode() |
static String |
getStpPortStatusString(Integer code) |
int |
hashCode() |
void |
setIntCode(Integer stpPortStatus) |
String |
toString() |
public static final int STP_PORT_STATUS_UNKNOWN
public static final int STP_PORT_STATUS_DISABLED
public static final int STP_PORT_STATUS_BLOCKING
public static final int STP_PORT_STATUS_LISTENING
public static final int STP_PORT_STATUS_LEARNING
public static final int STP_PORT_STATUS_FORWARDING
public static final int STP_PORT_STATUS_BROKEN
public static final OnmsStpInterface.StpPortStatus UNKNOWN
public static final OnmsStpInterface.StpPortStatus DISABLED
public static final OnmsStpInterface.StpPortStatus BLOCKING
public static final OnmsStpInterface.StpPortStatus LISTENING
public static final OnmsStpInterface.StpPortStatus LEARNING
public static final OnmsStpInterface.StpPortStatus FORWARDING
public static final OnmsStpInterface.StpPortStatus BROKEN
public StpPortStatus(Integer stpPortStatus)
public Integer getIntCode()
public void setIntCode(Integer stpPortStatus)
public int compareTo(OnmsStpInterface.StpPortStatus o)
compareTo
in interface Comparable<OnmsStpInterface.StpPortStatus>
public static OnmsStpInterface.StpPortStatus get(Integer code)
Copyright © 2015. All rights reserved.