Interface NodeProvider

  • All Known Implementing Classes:
    PersistenceNodeProvider

    public interface NodeProvider
    Provides OnmsNodes which the Asset Topology is build from.
    Author:
    mvrueden
    • 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 from ItemProvider.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.