Class SimpleMetaTopologyProvider
- java.lang.Object
-
- org.opennms.features.topology.api.topo.simple.SimpleMetaTopologyProvider
-
- All Implemented Interfaces:
MetaTopologyProvider
public class SimpleMetaTopologyProvider extends java.lang.Object implements MetaTopologyProvider
AMetaTopologyProvider
that supports a singleGraphProvider
.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description SimpleMetaTopologyProvider(GraphProvider graphProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BreadcrumbStrategy
getBreadcrumbStrategy()
GraphProvider
getDefaultGraphProvider()
GraphProvider
getGraphProviderBy(java.lang.String namespace)
java.util.List<GraphProvider>
getGraphProviders()
java.lang.String
getId()
EachMetaTopologyProvider
must have a unique id.java.util.Collection<VertexRef>
getOppositeVertices(VertexRef vertexRef)
java.lang.String
getPreferredLayout()
void
setPreferredLayout(java.lang.String preferredLayout)
-
-
-
Constructor Detail
-
SimpleMetaTopologyProvider
public SimpleMetaTopologyProvider(GraphProvider graphProvider)
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:MetaTopologyProvider
EachMetaTopologyProvider
must have a unique id.- Specified by:
getId
in interfaceMetaTopologyProvider
- Returns:
- the unique id.
-
getDefaultGraphProvider
public GraphProvider getDefaultGraphProvider()
- Specified by:
getDefaultGraphProvider
in interfaceMetaTopologyProvider
-
getOppositeVertices
public java.util.Collection<VertexRef> getOppositeVertices(VertexRef vertexRef)
- Specified by:
getOppositeVertices
in interfaceMetaTopologyProvider
-
getGraphProviders
public java.util.List<GraphProvider> getGraphProviders()
- Specified by:
getGraphProviders
in interfaceMetaTopologyProvider
-
getGraphProviderBy
public GraphProvider getGraphProviderBy(java.lang.String namespace)
- Specified by:
getGraphProviderBy
in interfaceMetaTopologyProvider
-
getBreadcrumbStrategy
public BreadcrumbStrategy getBreadcrumbStrategy()
- Specified by:
getBreadcrumbStrategy
in interfaceMetaTopologyProvider
-
setPreferredLayout
public void setPreferredLayout(java.lang.String preferredLayout)
-
getPreferredLayout
public java.lang.String getPreferredLayout()
-
-