Class AssetContext


  • public class AssetContext
    extends Object
    The asset context provides the entire lineage graph with vertices and edges.
    • Constructor Detail

      • AssetContext

        public AssetContext()
        Instantiates a new Asset context.
    • Method Detail

      • addVertex

        public boolean addVertex​(LineageEntity vertex)
        Add vertex boolean.
        Parameters:
        vertex - the vertex
        Returns:
        the boolean
      • addGraphContext

        public boolean addGraphContext​(GraphContext graphContext)
        Add graphContext boolean.
        Parameters:
        graphContext - the graphContext
        Returns:
        the boolean
      • getVertices

        public Set<LineageEntity> getVertices()
        Get vertices set.
        Returns:
        the set
      • getGraphContexts

        public Set<GraphContext> getGraphContexts()
        Gets edges.
        Returns:
        the edges
      • setGraphContexts

        public void setGraphContexts​(Set<GraphContext> graphContexts)
        Sets edges.
        Parameters:
        graphContexts - the edges