Examples of incomingEdgesOf()


Examples of cascading.flow.planner.process.FlowNodeGraph.incomingEdgesOf()

    }

  private void addInputOutputMapping( JobConf conf, FlowNode flowNode )
    {
    FlowNodeGraph flowNodeGraph = getFlowNodeGraph();
    Set<ProcessGraph.ProcessEdge> incomingEdges = flowNodeGraph.incomingEdgesOf( flowNode );

    for( ProcessGraph.ProcessEdge processEdge : incomingEdges )
      conf.set( "cascading.node.source." + processEdge.getID(), flowNodeGraph.getEdgeSource( processEdge ).getID() );

    Set<ProcessGraph.ProcessEdge> outgoingEdges = flowNodeGraph.outgoingEdgesOf( flowNode );
View Full Code Here

Examples of net.sf.graphiti.model.Graph.incomingEdgesOf()

    if (getModel() instanceof Vertex) {
      Vertex vertex = (Vertex) getModel();
      Graph parent = vertex.getParent();

      // we get the *input* dependencies of vertex
      Set<Edge> edges = parent.incomingEdgesOf(vertex);

      // dependencies
      List dependencies = new ArrayList(edges);
      return dependencies;
    }
View Full Code Here

Examples of net.sf.graphiti.model.Graph.incomingEdgesOf()

    VertexFigure figure = (VertexFigure) fig;
    Graph parent = vertex.getParent();

    figure.resetPorts();

    for (Edge edge : parent.incomingEdgesOf(vertex)) {
      String port = (String) edge
          .getValue(ObjectType.PARAMETER_TARGET_PORT);
      figure.addInputPort(port);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.