Interface NodeProvider
-
- All Known Implementing Classes:
PersistenceNodeProvider
public interface NodeProvider
ProvidesOnmsNode
s which the Asset Topology is build from.- Author:
- mvrueden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<OnmsNode>
getNodes(java.util.List<LayerDefinition> definitions)
Returns all nodes for which the given mapping applies.
-
-
-
Method Detail
-
getNodes
java.util.List<OnmsNode> getNodes(java.util.List<LayerDefinition> definitions)
Returns all nodes for which the given mapping applies. The returned list SHOULD NOT contain any nodes, where any value fromItemProvider.getItem(OnmsNode)
would return null. If the returned list contains those nodes anyways, they will be filtered out later. This is considered a BAD PRACTISE and should only be used if absolutely necessary (e.g. tests)- Parameters:
definitions
-- Returns:
- all nodes for which the given mapping applies.
-
-