Class GraphDefinition.WithTargetEntities

java.lang.Object
cz.metacentrum.perun.utils.graphs.generators.GraphDefinition.WithTargetEntities
Enclosing class:
GraphDefinition<T>

public class GraphDefinition.WithTargetEntities extends Object
Class representing the state of adding target entities. This state represents that target entities has been set for entity specified before and the graph edge type needs to be set.
  • Constructor Details

    • WithTargetEntities

      public WithTargetEntities(GraphDefinition<T> graphDefinition, T entity, Set<T> targetEntities)
  • Method Details

    • withEdgeType

      public GraphDefinition<T> withEdgeType(GraphEdge.Type edgeType)
      Method used to set the edge type for data that has been passed before.
      Parameters:
      edgeType - edge type
      Returns:
      graph definition