Class GenericInfoPanelItemProvider
- java.lang.Object
-
- org.opennms.features.topology.app.internal.info.GenericInfoPanelItemProvider
-
- All Implemented Interfaces:
InfoPanelItemProvider
public class GenericInfoPanelItemProvider extends java.lang.Object implements InfoPanelItemProvider
-
-
Constructor Summary
Constructors Constructor Description GenericInfoPanelItemProvider(NodeDao nodeDao, MeasurementsService measurementsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
createEdgeContext(EdgeRef edge)
java.util.Map<java.lang.String,java.lang.Object>
createVertexContext(VertexRef vertex)
java.util.Collection<InfoPanelItem>
getContributions(GraphContainer container)
Returns all contributions for the current state of the given container.
-
-
-
Constructor Detail
-
GenericInfoPanelItemProvider
public GenericInfoPanelItemProvider(NodeDao nodeDao, MeasurementsService measurementsService)
-
-
Method Detail
-
getContributions
public java.util.Collection<InfoPanelItem> getContributions(GraphContainer container)
Description copied from interface:InfoPanelItemProvider
Returns all contributions for the current state of the given container.- Specified by:
getContributions
in interfaceInfoPanelItemProvider
- Parameters:
container
- the container used to decide which contributions to show- Returns:
- a bunch of contributions, if any. Should NEVER return null
-
createVertexContext
public java.util.Map<java.lang.String,java.lang.Object> createVertexContext(VertexRef vertex)
-
createEdgeContext
public java.util.Map<java.lang.String,java.lang.Object> createEdgeContext(EdgeRef edge)
-
-