Class GraphMLMetaTopologyProvider
- java.lang.Object
-
- org.opennms.features.topology.plugins.topo.graphml.GraphMLMetaTopologyProvider
-
- All Implemented Interfaces:
MetaTopologyProvider
public class GraphMLMetaTopologyProvider extends Object implements MetaTopologyProvider
-
-
Constructor Summary
Constructors Constructor Description GraphMLMetaTopologyProvider(GraphMLServiceAccessor serviceAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BreadcrumbStrategy
getBreadcrumbStrategy()
GraphProvider
getDefaultGraphProvider()
GraphMLTopologyProvider
getGraphProvider(String vertexNamespace)
GraphProvider
getGraphProviderBy(String namespace)
Collection<GraphProvider>
getGraphProviders()
String
getId()
EachMetaTopologyProvider
must have a unique id.Collection<VertexRef>
getOppositeVertices(VertexRef vertexRef)
void
reload()
void
setTopologyLocation(String filename)
-
-
-
Constructor Detail
-
GraphMLMetaTopologyProvider
public GraphMLMetaTopologyProvider(GraphMLServiceAccessor serviceAccessor)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:MetaTopologyProvider
EachMetaTopologyProvider
must have a unique id.- Specified by:
getId
in interfaceMetaTopologyProvider
- Returns:
- the unique id.
-
reload
public void reload() throws IOException, InvalidGraphException
- Throws:
IOException
InvalidGraphException
-
getDefaultGraphProvider
public GraphProvider getDefaultGraphProvider()
- Specified by:
getDefaultGraphProvider
in interfaceMetaTopologyProvider
-
getGraphProviders
public Collection<GraphProvider> getGraphProviders()
- Specified by:
getGraphProviders
in interfaceMetaTopologyProvider
-
getOppositeVertices
public Collection<VertexRef> getOppositeVertices(VertexRef vertexRef)
- Specified by:
getOppositeVertices
in interfaceMetaTopologyProvider
-
getGraphProviderBy
public GraphProvider getGraphProviderBy(String namespace)
- Specified by:
getGraphProviderBy
in interfaceMetaTopologyProvider
-
getBreadcrumbStrategy
public BreadcrumbStrategy getBreadcrumbStrategy()
- Specified by:
getBreadcrumbStrategy
in interfaceMetaTopologyProvider
-
setTopologyLocation
public void setTopologyLocation(String filename)
-
getGraphProvider
public GraphMLTopologyProvider getGraphProvider(String vertexNamespace)
-
-