Class Bridge
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.service.api.Bridge
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
static Bridge
create(BroadcastDomain domain, java.lang.Integer nodeid)
static Bridge
create(BroadcastDomain domain, java.lang.Integer nodeid, java.lang.Integer rootport)
static Bridge
createRootBridge(BroadcastDomain domain, java.lang.Integer nodeid)
boolean
equals(java.lang.Object o)
java.lang.String
getDesignated()
static java.lang.String
getDesignated(java.util.List<BridgeElement> elems)
static java.util.Set<java.lang.String>
getIdentifier(java.util.List<BridgeElement> elems)
java.util.Set<java.lang.String>
getIdentifiers()
java.lang.Integer
getNodeId()
java.lang.Integer
getRootPort()
int
hashCode()
boolean
isNewTopology()
boolean
isRootBridge()
java.lang.String
printTopology()
void
setDesignated(java.lang.String designated)
void
setIdentifiers(java.util.Set<java.lang.String> identifiers)
void
setRootBridge()
void
setRootPort(java.lang.Integer rootPort)
-
-
-
Method Detail
-
getIdentifier
public static java.util.Set<java.lang.String> getIdentifier(java.util.List<BridgeElement> elems)
-
getDesignated
public static java.lang.String getDesignated(java.util.List<BridgeElement> elems)
-
create
public static Bridge create(BroadcastDomain domain, java.lang.Integer nodeid)
-
createRootBridge
public static Bridge createRootBridge(BroadcastDomain domain, java.lang.Integer nodeid)
-
create
public static Bridge create(BroadcastDomain domain, java.lang.Integer nodeid, java.lang.Integer rootport)
-
getRootPort
public java.lang.Integer getRootPort()
-
isNewTopology
public boolean isNewTopology()
-
setRootPort
public void setRootPort(java.lang.Integer rootPort)
-
isRootBridge
public boolean isRootBridge()
-
setRootBridge
public void setRootBridge()
-
getNodeId
public java.lang.Integer getNodeId()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
printTopology
public java.lang.String printTopology()
- Specified by:
printTopology
in interfaceTopology
-
getIdentifiers
public java.util.Set<java.lang.String> getIdentifiers()
-
setIdentifiers
public void setIdentifiers(java.util.Set<java.lang.String> identifiers)
-
getDesignated
public java.lang.String getDesignated()
-
setDesignated
public void setDesignated(java.lang.String designated)
-
clear
public void clear()
-
-