Class AbstractTopologyProvider
- java.lang.Object
-
- org.opennms.features.topology.api.topo.AbstractTopologyProvider
-
- All Implemented Interfaces:
SelectionAware
,GraphProvider
- Direct Known Subclasses:
BusinessServicesTopologyProvider
,GraphMLTopologyProvider
,LegacyApplicationTopologyProvider
,LinkdTopologyProvider
,PathOutageProvider
,SimpleGraphProvider
,VmwareTopologyProvider
public abstract class AbstractTopologyProvider extends java.lang.Object implements GraphProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected BackendGraph
graph
protected TopologyProviderInfo
topologyProviderInfo
-
Constructor Summary
Constructors Constructor Description AbstractTopologyProvider(java.lang.String namespace)
AbstractTopologyProvider(BackendGraph graph)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BackendGraph
getCurrentGraph()
java.lang.String
getNamespace()
protected static SelectionChangedListener.Selection
getSelection(java.lang.String namespace, java.util.List<VertexRef> selectedVertices, ContentType type)
TopologyProviderInfo
getTopologyProviderInfo()
abstract void
refresh()
void
setTopologyProviderInfo(TopologyProviderInfo topologyProviderInfo)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.features.topology.api.topo.GraphProvider
getDefaults
-
Methods inherited from interface org.opennms.features.topology.api.browsers.SelectionAware
contributesTo, getSelection
-
-
-
-
Field Detail
-
graph
protected final BackendGraph graph
-
topologyProviderInfo
protected TopologyProviderInfo topologyProviderInfo
-
-
Constructor Detail
-
AbstractTopologyProvider
public AbstractTopologyProvider(java.lang.String namespace)
-
AbstractTopologyProvider
public AbstractTopologyProvider(BackendGraph graph)
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interfaceGraphProvider
-
getTopologyProviderInfo
public TopologyProviderInfo getTopologyProviderInfo()
- Specified by:
getTopologyProviderInfo
in interfaceGraphProvider
-
setTopologyProviderInfo
public void setTopologyProviderInfo(TopologyProviderInfo topologyProviderInfo)
-
getCurrentGraph
public BackendGraph getCurrentGraph()
- Specified by:
getCurrentGraph
in interfaceGraphProvider
-
refresh
public abstract void refresh()
- Specified by:
refresh
in interfaceGraphProvider
-
getSelection
protected static SelectionChangedListener.Selection getSelection(java.lang.String namespace, java.util.List<VertexRef> selectedVertices, ContentType type)
-
-