Class EnrichmentGraphBuilder
- java.lang.Object
-
- org.opennms.netmgt.graph.api.enrichment.EnrichmentGraphBuilder
-
public final class EnrichmentGraphBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description EnrichmentGraphBuilder(GenericGraph input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericGraph
build()
List<GenericEdge>
getEdges()
List<GenericVertex>
getVertices()
GenericGraph
getView()
<T> EnrichmentGraphBuilder
property(String name, T value)
<T> EnrichmentGraphBuilder
property(GenericEdge edge, String name, T value)
<T> EnrichmentGraphBuilder
property(GenericVertex vertex, String name, T value)
List<GenericVertex>
resolveVertices(NodeRef nodeRef)
-
-
-
Constructor Detail
-
EnrichmentGraphBuilder
public EnrichmentGraphBuilder(GenericGraph input)
-
-
Method Detail
-
getView
public GenericGraph getView()
-
getVertices
public List<GenericVertex> getVertices()
-
getEdges
public List<GenericEdge> getEdges()
-
resolveVertices
public List<GenericVertex> resolveVertices(NodeRef nodeRef)
-
property
public <T> EnrichmentGraphBuilder property(String name, T value)
-
property
public <T> EnrichmentGraphBuilder property(GenericVertex vertex, String name, T value)
-
property
public <T> EnrichmentGraphBuilder property(GenericEdge edge, String name, T value)
-
build
public GenericGraph build()
-
-