Class DefaultGraph
- java.lang.Object
-
- org.opennms.features.topology.app.internal.service.DefaultGraph
-
-
Constructor Summary
Constructors Constructor Description DefaultGraph(Collection<Vertex> displayVertices, Collection<Edge> displayEdges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Edge>
getDisplayEdges()
Collection<Vertex>
getDisplayVertices()
Edge
getEdgeByKey(String edgeKey)
Map<? extends EdgeRef,? extends Status>
getEdgeStatus()
Layout
getLayout()
Vertex
getVertexByKey(String vertexKey)
Map<? extends VertexRef,? extends Status>
getVertexStatus()
void
setEdgeStatus(Map<? extends EdgeRef,? extends Status> edgeStatus)
void
setLayout(Layout layout)
void
setVertexStatus(Map<? extends VertexRef,? extends Status> statusForVertices)
void
visit(GraphVisitor visitor)
-
-
-
Constructor Detail
-
DefaultGraph
public DefaultGraph(Collection<Vertex> displayVertices, Collection<Edge> displayEdges)
-
-
Method Detail
-
getLayout
public Layout getLayout()
-
getDisplayVertices
public Collection<Vertex> getDisplayVertices()
- Specified by:
getDisplayVertices
in interfaceGraph
-
getDisplayEdges
public Collection<Edge> getDisplayEdges()
- Specified by:
getDisplayEdges
in interfaceGraph
-
getEdgeByKey
public Edge getEdgeByKey(String edgeKey)
- Specified by:
getEdgeByKey
in interfaceGraph
-
getVertexByKey
public Vertex getVertexByKey(String vertexKey)
- Specified by:
getVertexByKey
in interfaceGraph
-
visit
public void visit(GraphVisitor visitor) throws Exception
-
getEdgeStatus
public Map<? extends EdgeRef,? extends Status> getEdgeStatus()
- Specified by:
getEdgeStatus
in interfaceGraph
-
setVertexStatus
public void setVertexStatus(Map<? extends VertexRef,? extends Status> statusForVertices)
-
getVertexStatus
public Map<? extends VertexRef,? extends Status> getVertexStatus()
- Specified by:
getVertexStatus
in interfaceGraph
-
-