java.lang.Object
de.iip_ecosphere.platform.configuration.easyProducer.serviceMesh.ServiceMeshGraphWalker

class ServiceMeshGraphWalker extends Object
Traverses a graph.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • ServiceMeshGraphWalker

      public ServiceMeshGraphWalker(net.ssehub.easy.varModel.confModel.IDecisionVariable var)
      Creates a new instance.
      Parameters:
      var - the variable to start the traversal
  • Method Details

    • getResult

      public ServiceMeshGraph getResult()
      Returns the created graph.
      Returns:
      the graph
    • traverseNodes

      private void traverseNodes(net.ssehub.easy.varModel.confModel.IDecisionVariable var)
      Traverses the nodes stored as nested elements in var.
      Parameters:
      var - the variable representing the nodes
    • traverseConnectors

      private void traverseConnectors(net.ssehub.easy.varModel.confModel.IDecisionVariable var, ServiceMeshNode from)
      Traverses the connectors stored as nested elements in var.
      Parameters:
      var - the variable representing the nodes
      from - the node where this call originates, the start node of edges to be created
    • createNode

      private ServiceMeshNode createNode(net.ssehub.easy.varModel.confModel.IDecisionVariable elt)
      Creates a node and registers it in the resulting graph.
      Parameters:
      elt - the variable representing the node
      Returns:
      the created node